diff --git a/admin/javascript/LeftAndMain.BatchActions.js b/admin/javascript/LeftAndMain.BatchActions.js index 7eed870a3..ef58e4811 100644 --- a/admin/javascript/LeftAndMain.BatchActions.js +++ b/admin/javascript/LeftAndMain.BatchActions.js @@ -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