Update tree status after bulk action is applied

This commit is contained in:
David Craig 2015-07-15 14:58:48 +12:00
parent 5eec755d17
commit 3c20b58067

View File

@ -350,8 +350,9 @@
complete: function(xmlhttp, status) {
button.removeClass('loading');
// Deselect all nodes
tree.jstree('uncheck_all');
// Refresh the tree.
// Makes sure all nodes have the correct CSS classes applied.
tree.jstree('refresh', -1);
self.setIDs([]);
// Reset action