Quantcast
Channel: siebel open ui – Siebel Unleashed
Viewing all articles
Browse latest Browse all 32

Enter Key on home page search IP-2013

$
0
0

This article has been contributed by Gururaj Basavaraj a reader of Siebel Unleashed.


If you are in IP2013 you might be having problem search on home page by pressing enter key instead of

Go click. For that below is the PR code, associate this to all home page search applets.

if(typeof(SiebelAppFacade.EnterKeySearch) === "undefined"){
       SiebelJS.Namespace("SiebelAppFacade.EnterKeySearch");
       define("siebel/custom/EnterKeySearch", ["siebel/phyrenderer"], function(){
          SiebelAppFacade.EnterKeySearch = (function(){
          function EnterKeySearch(pm){
             SiebelAppFacade.EnterKeySearch.superclass.constructor.call(this,pm);
          }
       SiebelJS.Extend(EnterKeySearch, SiebelAppFacade.PhysicalRenderer);
       EnterKeySearch.prototype.BindEvents = function(){
           SiebelAppFacade.EnterKeySearch.superclass.BindEvents.call(this);
           Search.call(this);
      };
 
     function Search() {
         var oPM = this.GetPM();
         var sAppletId = "#S_A"+oPM.Get("GetId");
         $(sAppletId).delegate("input","keydown",function(){
         });
     }
  return EnterKeySearch;
}());
return "SiebelAppFacade.EnterKeySearch";
});
}

Viewing all articles
Browse latest Browse all 32

Latest Images

Trending Articles



Latest Images