only update status if it exists

This commit is contained in:
j 2014-11-15 01:14:02 +00:00
parent 121a2c9ac3
commit 7cc5ac19c7

View file

@ -372,7 +372,7 @@ oml.ui.importExportDialog = function(selected) {
: data.progress[0] ? Ox._(selected == 'import' ? 'Importing:' : 'Exporting') : data.progress[0] ? Ox._(selected == 'import' ? 'Importing:' : 'Exporting')
+ ' ' + Ox._('{0} of {1}', [Ox.formatNumber(data.progress[0]), total]) + ' ' + 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_) { that.select = function(selected_) {