restore selection after re-rendering file rows

This commit is contained in:
Christoph Wurst 2016-04-13 11:20:26 +02:00
parent 838e9e3126
commit 4d02233faa
1 changed files with 5 additions and 0 deletions

View File

@ -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) {