diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-09 22:07:34 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-09 22:07:34 +0100 |
commit | 86735c6b5a6d46f1e66ae170e498446af786b98e (patch) | |
tree | 9d499dbfc91b12e3805a3a94fce79ae644b43b33 /apps/files | |
parent | c5b2b3a1244400d57b80ecbcfe4a14867bffc184 (diff) | |
download | nextcloud-server-86735c6b5a6d46f1e66ae170e498446af786b98e.tar.gz nextcloud-server-86735c6b5a6d46f1e66ae170e498446af786b98e.zip |
Updating a file should not update the summary
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 0dbf4f938bb..d5b30d62998 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -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; }, |