mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
💄 block the RETURN key when no response yet from ajax
This commit is contained in:
@@ -142,6 +142,9 @@ $.Autocompleter = function(input, options) {
|
||||
blockSubmit = true;
|
||||
return false;
|
||||
}
|
||||
if ($(options.keyHolder).val() === "") {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
case KEY.ESC:
|
||||
|
||||
Reference in New Issue
Block a user