Changeset 5437 for trunk/prototype/api/datalayer.js
- Timestamp:
- 01/27/12 15:37:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/api/datalayer.js
r5399 r5437 544 544 clearQ: function( concept, ids ){ 545 545 546 //var current = this.check( ':current', concept || false );546 var current = this.check( ':current', concept || false ); 547 547 var diffs = this.check( ':diff', concept || false ); 548 548 549 549 if( !ids ) 550 /* current =*/diffs = {};550 current = diffs = {}; 551 551 else 552 552 { … … 556 556 for( var i = 0; i < ids.length; i++ ) 557 557 { 558 //delete current[ ids[i] ];558 delete current[ ids[i] ]; 559 559 delete diffs[ ids[i] ]; 560 560 } 561 561 } 562 562 563 //this.store( ':current', concept, current );563 this.store( ':current', concept, current ); 564 564 this.store( ':diff', concept, diffs ); 565 565 },
Note: See TracChangeset
for help on using the changeset viewer.