After installing jquery update, when I try to add a filter in views in second step (Configuring filter) I got JSON string in browser instead of configuration form.

CommentFileSizeAuthor
#2 Screenshot.png4.34 KBericlentz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ericlentz’s picture

I have this problem too with 7.x-2.2.

I found out that if you have jQuery update set to version 1.8, then you have the problem. 1.5 and 1.7 work fine for me. I am attaching a screenshot for the error I receive running in Chrome (I had trouble in FF too).

ericlentz’s picture

FileSize
4.34 KB

The screenshot promised above.

jptaranto’s picture

Same issue here. Latest views/ctools & jquery update 1.8. Ajax popups appear in top left corner, clicking cancel or save prints json output.

chellman’s picture

I've seen this issue as well.

The problem is that jQuery 1.8 removed the curCSS method that was deprecated around 1.4 or so.

http://blog.jquery.com/2012/08/09/jquery-1-8-released/

And it looks like jQuery UI 1.8.23 fixed this issue:

http://jqueryui.com/changelog/1.8.23/

Updating jQuery UI from 1.8.11 to 1.8.23 fixed this issue for me, but I haven't tested thoroughly enough to know if other things might break using this release instead of 1.8.11.

chellman’s picture

Status: Active » Fixed

Okay, it looks like this issue is fixed in dev.

https://drupal.org/node/1947438

Marked accordingly. You'll have to update to 7.x-2.x-dev for this to be fixed now, or just wait for the next stable release. I'm using dev and it seems to be working well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

GuyPaddock’s picture

Component: User interface » Code
Issue summary: View changes

I'm still seeing this behavior with jQuery Update and Views. Also potentially related: #2330285: Views UI doesn't seem to use jQuery after upgrade jQuery Update to 2.4

I have the admin interface set to use Drupal's standard version but it's still broken.

GuyPaddock’s picture

Ok, false alarm.

In my case, I was using Views through BrowserSync. Doing so causes this issue when using jQuery Update, no matter what version I set it to use for the Admin UI. The browser console was showing "Uncaught Error: The callback URL is not local and not trusted:", and sure enough if I access the site directly it works without issue.

TheodorosPloumis’s picture

I can confirm comment #8. I do have this issue when using BrowserSync (using theme radix 7.x)