1
0
mirror of synced 2025-02-04 06:09:23 +03:00

dont open the dropdown on meta keys. fixes #314

This commit is contained in:
Igor Vaynberg 2012-08-13 14:45:21 -07:00
parent 38dae78dab
commit b7a3f957e3

View File

@ -71,8 +71,8 @@
}
return false;
},
isControl: function (k) {
k = k.which ? k.which : k;
isControl: function (e) {
var k = e.which;
switch (k) {
case KEY.SHIFT:
case KEY.CTRL:
@ -80,7 +80,7 @@
return true;
}
if (k.metaKey) return true;
if (e.metaKey) return true;
return false;
},
@ -310,7 +310,7 @@
dataType: options.dataType,
data: data,
type: type,
traditional: traditional,
traditional: traditional,
success: function (data) {
if (requestNumber < requestSequence) {
return;