Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 12:00 UTC
Updated:
11 Apr 2012 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
litwol commentedI'm using this in prod and it works.
Admittedly i have to do a little manual work to make use of this:
Comment #2
tim.plunkettSome parts of CTools are switching over to the use of
.once()instead of manually doing -processed, maybe now is the time to switch this, it would make the code much easier to read.Also, your patch is rolled against a/sites/all/modules/contrib/ctools/js/modal.js, that won't work.
Comment #3
merlinofchaos commentedWell it'll work but then I'll have to use patch -p5 or something :)
Comment #4
litwol commentedRerolled from fresh checkout this time. previous patch was from my private project repo. sorry about that.
I agree about .once() rewrite. however i firmly believe it should be handled in a separate issue as to avoid highjacking original point of this patch.
Comment #5
tim.plunkettOpened #1505432: Rewrite JS to use jQuery.once().
Thanks for talking sense into me.
Comment #6
merlinofchaos commentedCommitted. Thanks for this and the testing!