Skip to content

Commit

Permalink
MINOR Highlighting modified nodes (basic success visualization)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Mar 8, 2012
1 parent 27d2363 commit 139ccc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/javascript/LeftAndMain.BatchActions.js
Expand Up @@ -242,10 +242,13 @@
var id, node;

if(data.modified) {
var modifiedNodes = [];
for(id in data.modified) {
node = tree.getNodeByID(id);
tree.jstree('set_text', node, data.modified[id]['TreeTitle']);
modifiedNodes.push(node);
}
$(modifiedNodes).effect('highlight');
}
if(data.deleted) {
for(id in data.deleted) {
Expand Down

0 comments on commit 139ccc3

Please sign in to comment.