Active
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jun 2011 at 04:50 UTC
Updated:
24 Aug 2011 at 16:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedThis needs to be fixed prior to -rc -- that kinda blows the caching up if we're not properly caching javascript.
Comment #2
dawehnerHere is a first version.
Comment #3
redndahead commentedThere is my take on it. Was able to get settings working also.
Comment #4
redndahead commentedWhite space cleanup.
Comment #5
redndahead commenteddereine said in irc that the current patch looked good, but asked me to create a simpletest for this. I'm not quite figuring out how to do this, showing my simpletest knowledge. If anyone has a chance to pick this up before I can figure it out that would be great.
Comment #6
redndahead commentedI've been working on the test for a while, but I'm not figuring it out. My guess is I need to enable a view that has caching turned on and sometime during the execution of that view add a drupal_add_js. So that get's cached. Run the view again with a different drupal_add_js() and test with an assertRaw to make sure the first javascript is being added and the second one isn't.
Anyone have ideas on how to do this?
Comment #7
rfaySubscribing. Note that #1131356: Drupal.settings.viewsSlideshowCycle is undefined (except after cache clear) if Views Caching is enabled was marked a dup of this.
Comment #8
dawehnerCommited the patch, looks really fine.
Comment #9
dawehnerComment #10
dawehnerHere is a first working patch.