Updating a file should not update the summary

This commit is contained in:
Roeland Jago Douma 2016-01-09 22:07:34 +01:00
parent c5b2b3a124
commit 86735c6b5a
1 changed files with 3 additions and 1 deletions

View File

@ -1758,7 +1758,9 @@
updateRow: function($tr, fileInfo, options) {
this.files.splice($tr.index(), 1);
$tr.remove();
$tr = this.add(fileInfo, _.extend({updateSummary: false, silent: true}, options));
options = _.extend({silent: true}, options);
options = _.extend(options, {updateSummary: false});
$tr = this.add(fileInfo, options);
this.$fileList.trigger($.Event('fileActionsReady', {fileList: this, $files: $tr}));
return $tr;
},