Changeset 382

Show
Ignore:
Timestamp:
03/31/09 15:41:14 (10 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/public/javascripts/explorator_controller.js

    r369 r382  
    3636    //open a new window where his content will be defined by the item.exp attribute. 
    3737    ctr_open: function(item){ 
     38           _uri =  '/repository/autoadd?uri='+ Element.resource(item); 
     39                new Ajax.Request((_uri), {   method: 'get'       }); 
    3840        parameters.set('O', item); 
    3941        ajax_create(new SemanticExpression('O') + '&view=' + item.readAttribute('view')); 
     
    9597    exp: function(item){ 
    9698        return encodeURIComponent(item.readAttribute('exp')); 
    97     }, 
    98     resource: function(item){ 
    99         return encodeURIComponent(item.readAttribute('resource')); 
    100     } 
     99    }     
    101100}); 
    102101