If a form (for example node creation form) does not contain any autocomplete fields, JavaScript returns the following error:
Uncaught TypeError: Cannot read property 'options' of undefined
at node-form.js:94
at node-form.js:113
I think we will need to add a check to see if Drupal.autocomplete exists first before applying a selectHandler in node-form.js
When JavaScript aggregation is enabled in Drupal, this issues makes all JavaScript fail on page load.
Comments
Comment #2
maxneaga commentedComment #4
jepster_Thanks maxneaga for reporting this bug!
I have fixed it in the latest Git dev branch. Please re-open this issue, if you have any objections.