Browse Source

Fix accessor on color edits

Neal Wilson 7 years ago
parent
commit
f09ada14f9
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      config/Windows/newbatch.xml

+ 4
- 4
config/Windows/newbatch.xml View File

668
                 query2.bind(":user", Application.currentTypicaUser());
668
                 query2.bind(":user", Application.currentTypicaUser());
669
                 var extradata = new Object;
669
                 var extradata = new Object;
670
                 var colordata = new Object;
670
                 var colordata = new Object;
671
-                if(wholecolor.text.length > 0) {
672
-                    colordata.whole = wholecolor.text;
671
+                if(wholecolor.value.length > 0) {
672
+                    colordata.whole = wholecolor.value;
673
                 }
673
                 }
674
-                if(groundcolor.text.length > 0) {
675
-                    colordata.ground = groundcolor.text;
674
+                if(groundcolor.value.length > 0) {
675
+                    colordata.ground = groundcolor.value;
676
                 }
676
                 }
677
                 if(colordata.whole || colordata.ground) {
677
                 if(colordata.whole || colordata.ground) {
678
                     extradata.color = colordata;
678
                     extradata.color = colordata;

Loading…
Cancel
Save