Changeset 6003


Ignore:
Timestamp:
04/23/12 17:31:14 (12 years ago)
Author:
angelo
Message:

Ticket #2646 - Pesquisa avancada do Contact Center nao permite tecla enter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/js/cc_search.js

    r5590 r6003  
    234234                        itemH.innerHTML = items ? '<table>' + items.join("") + '</table>' : ''; 
    235235                        target.appendChild( itemH ); 
    236  
     236                        target.onkeydown = function (e){ 
     237                                e = e || window.event; 
     238                                var key = e.keyCode || e.witch; 
     239                                if (key == 13){ 
     240                                        _this.go(); 
     241                                        e.stopPropagation(); 
     242                                } 
     243                        } 
    237244                        target.style.left = "507px"; 
    238245 
Note: See TracChangeset for help on using the changeset viewer.