Commit 8e11050f authored by Dries's avatar Dries
Browse files

- Patch #1631164 by Aron Novak, Mithrandir: autocomplete fires on readonly fields.

parent 254673a6
...@@ -102,7 +102,7 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) { ...@@ -102,7 +102,7 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) {
return true; return true;
default: // All other keys. default: // All other keys.
if (input.value.length > 0) { if (input.value.length > 0 && !input.readOnly) {
this.populatePopup(); this.populatePopup();
} }
else { else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment