restore selection after re-rendering file rows
This commit is contained in:
parent
838e9e3126
commit
4d02233faa
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue