summaryrefslogtreecommitdiff
path: root/www/js/shows.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/shows.js')
-rw-r--r--www/js/shows.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/js/shows.js b/www/js/shows.js
index b9eb834..b8f0c2a 100644
--- a/www/js/shows.js
+++ b/www/js/shows.js
@@ -216,7 +216,9 @@ Rdxport.ShowView = function(model) {
this.$el = null;
var self = this;
this.model.$this.off('update').on('update', function() {
- self.render();
+ importer.syncUploads('shows', self, function() {
+ self.render();
+ });
});
};
@@ -245,7 +247,7 @@ Rdxport.ShowView.prototype.render = function() {
this.cartViews = [];
var self = this;
- $(this.model.logs).each(function(index, log) {
+ $(self.model.logs).each(function(index, log) {
var cart = self.model.getCartByNumber(log.cartNumber);
var upload = importer.getUploadByCartNumber(log.cartNumber);
if (upload) {