Ignore:
Timestamp:
01/27/12 15:37:21 (12 years ago)
Author:
cristiano
Message:

Ticket #2434 - Atualização modulo agenda e API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/api/datalayer.js

    r5399 r5437  
    544544    clearQ: function( concept, ids ){ 
    545545       
    546 //              var current = this.check( ':current', concept || false ); 
     546        var current = this.check( ':current', concept || false ); 
    547547        var diffs = this.check( ':diff', concept || false ); 
    548548 
    549549        if( !ids ) 
    550            /* current =*/ diffs = {}; 
     550            current = diffs = {}; 
    551551        else 
    552552        { 
     
    556556            for( var i = 0; i < ids.length; i++ ) 
    557557            { 
    558 //              delete current[ ids[i] ]; 
     558                delete current[ ids[i] ]; 
    559559                delete diffs[ ids[i] ]; 
    560560            } 
    561561        } 
    562562 
    563 //      this.store( ':current', concept, current ); 
     563        this.store( ':current', concept, current ); 
    564564        this.store( ':diff', concept, diffs ); 
    565565    }, 
Note: See TracChangeset for help on using the changeset viewer.