Changeset 204

Show
Ignore:
Timestamp:
12/10/08 15:34:22 (9 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

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

    r197 r204  
    196196    //This observer is applied over the form id_form_keyword 
    197197    $('id_form_keyword').onsubmit = function(){ 
    198         ajax_create(new SemanticExpression().keyword($F('seachbykeyword'))); 
     198        ajax_create(new SemanticExpression().search($F('seachbykeyword'))); 
    199199        return false; 
    200200    }; 
     
    314314        return this; 
    315315    }, 
    316           
     316          search: function(k){ 
     317        this.expression += '.search(\'' + encodeURIComponent(k) + '\')'; 
     318        return this; 
     319    }, 
    317320 
    318321    toString: function(){