diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-07-15 17:37:28 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-07-15 17:37:28 (GMT) |
commit | dc711297eaf4fedb78dd685b8705d99bb2b84ef5 (patch) | |
tree | 6e9eb4e47a561c35e18f3064389f39a2ce932da8 /www | |
parent | a5241e6b6c3371e1f1fb11bcfbd00390038d1589 (diff) |
fix jingles socket progress
Diffstat (limited to 'www')
-rw-r--r-- | www/js/importer.js | 4 |
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; |