Contrary to what is mentioned in the release notes for 3.7, views UI doesn't work correctly if jQuery 1.8 is selected in the jQuery udate module.
Best.

CommentFileSizeAuthor
#3 views ajax error.jpg28.19 KBbrulain
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chats’s picture

I've got the same issue...doesn't work with jquery 1.7 or 1.8

Mołot’s picture

Same here, on dev versions.

brulain’s picture

FileSize
28.19 KB

For example, if I click on the preview button, an ajax error message displays (see files 'views ajax error.jpg' attached). It happens with all jQuery version selected in jQuery Update (1.5, 1.7 or 1.8).
If I disable jQuery Update module, the same error message appears, but in this case 'Ready state' = 4.

JJmonterey’s picture

I was getting white screen ajax errors with jquery 1.8 and have dropped back to 1.5 and the problem has disappeared.

smhanes’s picture

I'm using jQuery Update set to 1.7, Production, and using the Google CDN. Views UI 'mostly' works, but some events do not get fired. Example, if I check Create label for a field, nothing happens. I have to downgrade jQuery to 1.5, modify my Views, and then change jQuery back.

Also, I've noticed that using different CDNs cause modules that rely on jQuery to behave in different ways.

Mołot’s picture

Just wonder... how do we know if it's not jQuery Update issue rather than Views one? #5 suggests something strange happens with jquery itself.

brulain’s picture

@#6
This also happens if jQuery Update is disabled...

Mołot’s picture

brulain - So you say issue's title is wrong? It does not happen for me without jQuery Update. If you experience more universal problem, consider editing issue title and describing it a bit more.

gregrenner’s picture

I too am still experiencing the Views UI bug in v3.7 when I set jquery update to v1.8. When I click anything that brings up the views modal, the modal is aligned to the top left of the window and clicking any of the modal's action buttons (apply, cancel, remove) the page reloads with just JSON output.

This behavior is identical to how it was breaking with Views v3.6 and below (with Jquery 1.8), so I'm not sure what fix they're referring to on: http://drupal.org/node/1802198

Switching jquery to 1.5 or 1.7 seems to fix this issue, but 1.8 still breaks Views UI.

krima’s picture

Same problem

webbymatt’s picture

For me the overlay dialogue in Views opens in the top-left and upon submitting just shows a load of code on the page. Basically it completely fails. Using jQuery 1.7 fixes the issue.

cyborg_572’s picture

I'm finding that with anything above jQuery 1.5, everything seems to work perfectly, except for the fields that appear and disappear based on the value of checkboxes. (I'm using views 7.x-3.5 though)

raino’s picture

We have the same problem webbymatt has.
When we use jQuery 1.7 or 1.8 Views UI stops working: the overlay dialogue in Views opens in the top-left, weight toggle for field disappears and, upon saving, we got JSON output and the views IS NOT saved.

deggertsen’s picture

I have the same problem as #13 except that it works with jQuery 1.7, just not 1.8. This is frustrating though, because I am trying to use other functionality that requires jQuery 1.8.

Matthew Cooper’s picture

I managed to fix this by updating to the dev version of Jquery_update, It's a bug caused by JQuery UI calling old Jquery function names.
If you can't use the dev version you could also hack around it by using jQuery.curCSS = jQuery.css;

deggertsen’s picture

Status: Active » Needs review

Thanks for the solution @Matthew Cooper. Unfortunately, Views Slideshow Cycle appears to not work with jQuery 1.8 either at this point so there is yet another problem I have to overcome. This issue could probably be marked as fixed though as that is a separate issue. I'll mark it as needs review and if anybody else can confirm that #15 fixes the issue I think they could safely mark this as fixed.

jordanjustice’s picture

Upgrading to the dev version fixed this all for me. It allows you to use 1.8 for the site, and then 1.7 or lower for all admin pages, including the admin views page.

knalstaaf’s picture

Status: Needs review » Closed (duplicate)
ashDn999’s picture

Issue summary: View changes
Priority: Normal » Major
Status: Closed (duplicate) » Needs work

This needs to be fixed. I'm using a Bootstrap Admin theme which requires a newer version of jQuery to be used for the admin. Views' functionality is not working. I'm having the same checkbox-not-working issue as others on here. I need it to work with jQuery version 1.10.

ashDn999’s picture

Priority: Major » Minor
Status: Needs work » Closed (duplicate)

I ended up just using the Bootstrap admin theme for non-admin roles. And using Drupal default jQuery for the admin role.

ashDn999’s picture

Ended up just using Drupal default jQuery in the admin, with the bootstrap theme for non-admin roles.

ugintl’s picture

This is a good idea, but what to do when a contrib module requires an older version and you want to use bootstrap as well on your site.