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 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.
Comment | File | Size | Author |
---|---|---|---|
#2 | Screenshot.png | 4.34 KB | ericlentz |
Comments
Comment #1
ericlentz CreditAttribution: ericlentz commentedI 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).
Comment #2
ericlentz CreditAttribution: ericlentz commentedThe screenshot promised above.
Comment #3
jptaranto CreditAttribution: jptaranto commentedSame issue here. Latest views/ctools & jquery update 1.8. Ajax popups appear in top left corner, clicking cancel or save prints json output.
Comment #4
chellman CreditAttribution: chellman commentedI'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.
Comment #5
chellman CreditAttribution: chellman commentedOkay, 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.
Comment #7
GuyPaddock CreditAttribution: GuyPaddock at RedBottle Design, LLC for Inveniem commentedI'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.
Comment #8
GuyPaddock CreditAttribution: GuyPaddock at RedBottle Design, LLC for Inveniem commentedOk, 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.
Comment #9
TheodorosPloumisI can confirm comment #8. I do have this issue when using BrowserSync (using theme radix 7.x)