Closed (fixed)
Project:
Sweaver
Version:
7.x-1.3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2012 at 18:56 UTC
Updated:
2 Aug 2012 at 08:51 UTC
Jump to comment: Most recent
The rules module has a autocomplete text box that has a large arrow on the right side when you are setting up data selectors for rules. When sweaver is activated the box does not work - throwing a javascript error in the console (below)
Sorry if this is actually a bug for Rules - I have no way to tell module needs to be changed to be compatible with the other.
Thanks,
-Jeremy
Uncaught TypeError: Object #
has no method 'cookie' condition:36 Drupal.Sweaver.toggleBar.Drupal.Sweaver.open condition:36 b.fn.b.ready js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:27 Drupal.Sweaver condition:28 (anonymous function) condition:406 b.extend.globalEval js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:33 c.extend.httpData js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:145 c.extend.ajax.w.onreadystatechange js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:141 c.extend.ajax js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:142 Oa js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:21 b.extend.each js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:34 c.fn.extend.domManip js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:121 c.fn.extend.append js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:114 c.fn.extend.html js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:118 Drupal.ajax.commands.insert js_4RLg_0mcLz8_00RMt9A9Ud5xsS4fiSi3ArVfSZMKjy4.js:513 Drupal.ajax.success js_4RLg_0mcLz8_00RMt9A9Ud5xsS4fiSi3ArVfSZMKjy4.js:424 Drupal.ajax.ajax.options.success js_4RLg_0mcLz8_00RMt9A9Ud5xsS4fiSi3ArVfSZMKjy4.js:188 b.fn.ajaxSubmit.a.success js_4RLg_0mcLz8_00RMt9A9Ud5xsS4fiSi3ArVfSZMKjy4.js:24 c.extend.handleSuccess js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:143 c.extend.ajax.w.onreadystatechange js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js:142
Comments
Comment #1
Anonymous (not verified) commentedIt seems like you have aggregated your JS files therefore I'll have to run it on my server to check it out. I'll get back to you soon
Comment #2
jhunter commentedWell that worked out, it seems the issue is being caused by the javascript being aggregated. When I disable javascript aggregation (to give you the error) the two plugins start living side by side without issue, enable aggregation and it breaks.
Perhaps when aggregated the two plugins have some naming collisions? - no big deal, I'll just run sans aggregation for now.
Thank you for the plugin :)
Comment #3
Anonymous (not verified) commentedAlright. I guess then Drupal doesn't aggregate JS files in the right order. Weird, I'll still check it out to make sure the error isn't deeper than expected.