summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/importer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/importer.js b/www/js/importer.js
index 7e72150..39864a7 100644
--- a/www/js/importer.js
+++ b/www/js/importer.js
@@ -247,7 +247,7 @@ Rdxport.Importer.prototype.getUploadByCartNumber = function(cartNumber) {
}
var upload = null;
$.each(this.uploads, function(index, currentUpload) {
- if (parseInt(currentUpload.cartNumber) === parseInt(cartNumber)) {
+ if (currentUpload.cartNumber === parseInt(cartNumber)) {
upload = currentUpload;
return false; //break;
}
@@ -304,7 +304,7 @@ Rdxport.Upload = function(fileOrsourceUri, group, groupView, cartNumber, useMeta
this.group = group;
this.groupView = groupView;
- this.cartNumber = cartNumber;
+ this.cartNumber = parseInt(cartNumber);
this.cutNumber = null;
this.useMetadata = useMetadata;