Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After working with my view for some time suddenly
Everytime I open a modal dialog (i.e. edit pager, edit field etc) and hitting "apply"
I a JSON response instead of views ui
[ {"command":"settings", "settings":{"basePath":"\u002Fretouch\u002F", "pathPrefix":"", .....
This make my view un-editable
Comments
Comment #1
Optalgin CreditAttribution: Optalgin commentedAfter some checking and module disabling it looks like that when jquery_update is enabled and using jquery other then 1.5 (i.e. 1.7 & 1.8)
Comment #2
PJnes CreditAttribution: PJnes commentedGetting the same issue with jQuery 1.8. Javascript errors on edit view page below. Hopefully they're helpful to someone that understands more about jQuery than I do...
Edit: Updated with non-minified jQuery.
Comment #3
tne_ CreditAttribution: tne_ commentedSame problem here. I am using jquery_update with jquery 1.8.2 which so far works flawlessly.
Except with Views 3.5 (havent tested older revisions yet).
Whenever i change something that is doing an ajax postback, the ajax result is shown in the browser. When i hit the back button, the changes are made, however it is annoying working this way.
For now a workaround is to disable ajax for views ui.
Comment #4
nally CreditAttribution: nally commentedSame problem, but I don't have jquery update at all.
I've got Views / Views UI 7.x-3.5 and Better Exposed Filters 7.x-3.0-beta3 and I'm working with Open Layers.
For me, for some previously entered filters, when I now click on those, nothing happens. It appears that there is a link there, but no modal dialogue comes up.
I'm not sure if this is causally related, but I struggled to get some exposed filters off my view and deselected better exposed filters and the issue is no longer present, although I'm not sure which of those things fixed it, or if it was something else I changed.
Comment #5
dawehnerWell, it's more an issue of jquery update, as they should fix views js, if it's not longer compatible with jquery 1.8
The views jquery just works with the jquery version provided by core.
Comment #6
zgos CreditAttribution: zgos commentedI have also encountered the same problem, the simplest solution is degrade the jquery version down to 1.7 or 1.5.
Comment #7
ericduran CreditAttribution: ericduran commentedThe actual issue is fixed with #1947438: Update jQuery UI to the latest version (1.10.2).