When using jquery version 1.7.1 (updated via jquery_update) the widget select stays disabled, even though different widget types is available.
Steps to reproduce:
Install the jquery_update module, and select jquery version 1.7.1
Go to "manage fields" for any content type
Select any field type in the "add field" section
the widget type selector has the attribute 'disabled' = 'disabled'
After applying the provided patch it is possible to click on the widget type selector
the fix is backward compatible with query 1.4.4.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | field_ui.js_.patch | 545 bytes | runand |
| #1 | field_ui.js_.patch | 577 bytes | runand |
| field-ui.js_.patch | 695 bytes | runand |
Comments
Comment #1
runand commentedI have added a new patch, the first patch removed an empty line, that should not have been removed
Comment #3
runand commentedFixed wrong paths in the diff
Comment #4
bschilt commentedI had the same issue. This patch did not work for me but upgrading to jquery_update 2.2 worked.
Comment #5
runand commentedjquery_update 2.2 only upgrades jQuery to version 1.5.2, when using jquery_update verison 7.x-2.x-dev, it is possible to select jQuery 1.7 as version.
I have retested the patch locally, on a fresh checkup of the 7.x branch, and it works as I have previously described. I am not sure that your issue is the same as mine.
Comment #6
Dave Sandilands commentedApologies if this the wrong place for this. I think it's related enough. And thanks to runand for showing me the way.
I had the same issue in Drupal 6 with JQuery 1.61. I amended all/modules/cck/content.js in the same manner ie
At line 78 replace
with this
Worked a treat.
Comment #7
nod_Comment #8
JamesK commentedThere are probably other areas of core with this same problem. The patch should update all of them.
Need to update 8.x first.
Comment #9
JamesK commentedDuplicate of #1480568: use $.attr with false instead of empty string
Comment #10
gagarine commentedActually for property on jQuery 1.7 you should use prop().
Should we close this one as a duplicate of #1480568: use $.attr with false instead of empty string?
Comment #11
gagarine commentedOups JamesK you are to fast..