diff options
-rw-r--r-- | apps/files/js/filelist.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 71af4a21b9b..c8f818701a9 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -390,6 +390,11 @@ model.toJSON(), {updateSummary: true, silent: false, animate: true} ); + + // restore selection state + var selected = !!self._selectedFiles[$tr.data('id')]; + self._selectFileEl($tr, selected); + $tr.toggleClass('highlighted', highlightState); }); model.on('busy', function(model, state) { |