Skip to content
This repository
Browse code

MINOR Highlighting modified nodes (basic success visualization)

  • Loading branch information...
commit 139ccc37daf8334b5cfc8dd100c736faaecc898a 1 parent 27d2363
Ingo Schommer authored March 08, 2012
3  admin/javascript/LeftAndMain.BatchActions.js
@@ -242,10 +242,13 @@
242 242
 						var id, node;
243 243
 						
244 244
 						if(data.modified) {
  245
+							var modifiedNodes = [];
245 246
 							for(id in data.modified) {
246 247
 								node = tree.getNodeByID(id);
247 248
 								tree.jstree('set_text', node, data.modified[id]['TreeTitle']);
  249
+								modifiedNodes.push(node);
248 250
 							}
  251
+							$(modifiedNodes).effect('highlight');
249 252
 						}
250 253
 						if(data.deleted) {
251 254
 							for(id in data.deleted) {

0 notes on commit 139ccc3

Please sign in to comment.
Something went wrong with that request. Please try again.