1
0
mirror of synced 2024-11-23 05:26:10 +03:00

Merge pull request #610 from MaxxSoftware/master

Firefox Tab and Enter keys issue.
This commit is contained in:
Igor Vaynberg 2013-01-16 08:45:11 -08:00
commit fa908972b4

View File

@ -1607,6 +1607,9 @@ the specific language governing permissions and limitations under the Apache Lic
} }
})); }));
selection.bind("keypress", this.bind(function(e) { selection.bind("keypress", this.bind(function(e) {
if (e.which == KEY.DELETE || e.which == KEY.BACKSPACE || e.which == KEY.TAB || e.which == KEY.ENTER || e.which == 0) {
return
}
var key = String.fromCharCode(e.which); var key = String.fromCharCode(e.which);
this.search.val(key); this.search.val(key);
this.open(); this.open();