summaryrefslogtreecommitdiff
path: root/www/js/rdxport.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-07-15 14:55:05 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-07-15 14:55:05 (GMT)
commit355b9109410ddbb2a471d88b0eadcdc895032aac (patch)
treed4befaf2875be7cd30d2810167683af682b968fd /www/js/rdxport.js
parent8950c5830665de3c20a0d142f69f8bd33ef74183 (diff)
remove unused newCartNumber, send normalization and autotrim levels
Diffstat (limited to 'www/js/rdxport.js')
-rw-r--r--www/js/rdxport.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/rdxport.js b/www/js/rdxport.js
index ff54f51..e698493 100644
--- a/www/js/rdxport.js
+++ b/www/js/rdxport.js
@@ -363,10 +363,10 @@ Rdxport.Group = function(groupName, description, lowcart, highcart, normlevel, t
this.xml = arguments[0];
this.groupName = $('group', this.xml).text();
this.description = $('group-description', this.xml).text();
- this.lowcart = $('group-low-cart', this.xml).text();
- this.highcart = $('group-high-cart', this.xml).text();
- this.normlevel = $('normalization-level', this.xml).text();
- this.trimlevel = $('autotrim-level', this.xml).text();
+ this.lowcart = parseInt($('group-low-cart', this.xml).text());
+ this.highcart = parseInt($('group-high-cart', this.xml).text());
+ this.normlevel = parseInt($('normalization-level', this.xml).text());
+ this.trimlevel = parseInt($('autotrim-level', this.xml).text());
} else {
this.groupName = groupName;
this.description = description;