Commit 8e11050f authored by Dries's avatar Dries

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

parent 254673a6
......@@ -102,7 +102,7 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) {
return true;
default: // All other keys.
if (input.value.length > 0) {
if (input.value.length > 0 && !input.readOnly) {
this.populatePopup();
}
else {
......
Markdown is supported
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