From 7cc5ac19c7915e56e6ef98ee6bf4f2b000bbe86e Mon Sep 17 00:00:00 2001 From: j Date: Sat, 15 Nov 2014 01:14:02 +0000 Subject: [PATCH] only update status if it exists --- static/js/importExportDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/importExportDialog.js b/static/js/importExportDialog.js index 07d045a..d68336a 100644 --- a/static/js/importExportDialog.js +++ b/static/js/importExportDialog.js @@ -372,7 +372,7 @@ oml.ui.importExportDialog = function(selected) { : data.progress[0] ? Ox._(selected == 'import' ? 'Importing:' : 'Exporting') + ' ' + Ox._('{0} of {1}', [Ox.formatNumber(data.progress[0]), total]) : ''; - $status[data.activity].html(status); + $status[data.activity] && $status[data.activity].html(status); } that.select = function(selected_) {