Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2010 at 13:11 UTC
Updated:
15 May 2012 at 14:10 UTC
I cant see why ctools includes its own dimensions.js file when this functionality is added in native jQuery 1.2.6?
The problem is that if I use $('#selector').outerWidth(); in my own JS files, I wont be able to add content to my panels.
I have not been able to exactly locate why, but If I remove all content in dimensions.js, it will work as usally.
Comments
Comment #1
merlinofchaos commentedInteresting. I'll have to test this and play with it. dimensions.js has probably been following us since jquery 1.0 :P
Comment #2
merlinofchaos commentedWell just removing dimensions.js does not work, so I guess that the actual stuff that is using dimensions.js would have to be retooled to use jQuery native methods instead. This explains why it's never been removed.
Comment #3
merlinofchaos commentedComment #4
esmerel commentedChanging to 'postponed' - I suspect it's a task someone should take up.
Comment #5
merlinofchaos commentedI actually removed this file ages ago.