Commit 41f11d40 authored by David_Rothstein's avatar David_Rothstein

Issue #1631164 by Aron Novak, Mithrandir: Fixed Autocomplete fires on readonly fields.

parent 349ea196
......@@ -99,10 +99,12 @@ 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
}
else {
this.hidePopup(e.keyCode);
}
return true;
}
};
......
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