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

Optalgin’s picture

Title: On modal overlays after hitting apply a JSON result is received received » modal overlays return JSON instead go back to ui after hitting apply when using jquery 1.8
Priority: Critical » Normal

After 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)

PJnes’s picture

Getting 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...

Uncaught Error: Syntax error, unrecognized expression: #views-display-menu-tabs.not(.views-ui-render-add-view-button-processed-processed) li.add jquery.js:4679
Sizzle.error jquery.js:4679
tokenize jquery.js:4739
select jquery.js:5099
select jquery.js:5276
Sizzle jquery.js:3941
jQuery.event.dispatch jquery.js:3029
elemData.handle.eventHandle

Edit: Updated with non-minified jQuery.

tne_’s picture

Priority: Normal » Major

Same 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.

nally’s picture

Same 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.

dawehner’s picture

Project: Views (for Drupal 7) » jQuery Update
Version: 7.x-3.5 » 7.x-2.x-dev
Component: User interface » Code

Well, 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.

zgos’s picture

I have also encountered the same problem, the simplest solution is degrade the jquery version down to 1.7 or 1.5.

ericduran’s picture

Status: Active » Closed (duplicate)