Closed (fixed)
Project:
jQuery Update
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2014 at 10:17 UTC
Updated:
14 Nov 2014 at 10:14 UTC
Jump to comment: Most recent
Comments
Comment #1
mengi commentedI can confirm this error. I am not able to pick a data selector, the dropdown doesn't show, when adding a action or condition. I also can't click on the 'data selector' dropdown that is below the input. Rules UI will work when Default jQuery Version is set to 1.5, but nothing else.
It seems that the 'Alternate jQuery version for administrative pages' setting is ignored. Even if I pick 1.5 for the setting, Rules UI will only work if the 'Default jQuery Version' setting is on 1.5.
Comment #2
sascher commentedconfirmed I am having the same issue
Comment #3
markhalliwellI have updated the release notes of jquery_update 7.x-2.4 to reflect the change that occurred and the solution to fix it:
Comment #4
E Johnson commentedChanging back to jQuery 1.5 for the Admin in jQuery Update introduces a different error in Console to debug:
This will still make the Data Selector in Rules broken. There's also a lot of notices when you clear cache.
Running: jQuery Update 7.x-2.4
I'll have to look into going back to jQuery Update 7.x-2.3 to see if the problem still exists.
Comment #5
khayong commentedThe patch from https://www.drupal.org/node/1548028#comment-7983779 is working for me. It provided another option Default (provided by Drupal).
Comment #6
citricguy commentedThe patch @khayong referenced worked for me as well, but I did need to set the "Alternate jQuery version for administrative pages" in admin/config/development/jquery_update specifically to version 1.5.
Rules UI is working again for me now.
Comment #7
areynolds commentedThe patch from https://www.drupal.org/node/1548028 has been committed and will be in 7.x-2.5 of jQuery Update (currently in the dev branch).
Comment #8
ndf commentedWorks for me too (7.x-2.x today).
Settings:
default jquery version: 1.7 or higher
alternate jquery version for administrative pages: 1.5 or "Default (provided by Drupal)".
With jquery_update-7.x-2.4 (current version) above configuration does not work with Rules UI. The only way to get Rules UI working is put default and administrative to version 1.5 or "Default (provided by Drupal)". Higher jquery versions break ajax-callback (rules token selector).
With jquery_update-7.x-2.x-dev (current dev version) above configuration does work.
@ #3: Source of the problem is the ajax callback that loads the frontend (default) version.
Specifically this chunk (line 97-103) solves the issue:
Comment #9
ndf commentedCrosslink to Rules issue queue: https://www.drupal.org/node/1810656