Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2010 at 16:54 UTC
Updated:
23 Mar 2016 at 01:45 UTC
Jump to comment: Most recent
Comments
Comment #1
merlinofchaos commentedThere are two things we have to fix in order to make this work.
1) We need to ensure that the javascript files for anything that might appear in a modal appear on the page with the modal. We can probably do this with a global hook of some kind when the javascript for the modal is run. Or the wysiwyg js could be just added all of the time.
2) We need to get the settings to transmit through the modal. Right now this is harder. CTools is using an older method where we set settings onto the form, but that's really irritating. What we really need is for CTools to mine the results of drupal_add_js for javascript settings and go ahead and send those through so that all javascript settings work. WE did this for the version of the AJAX Framework that went into core, but it has not yet gotten backported.
With those two, we can greatly expand what javascript toys can work on items in the modal.
Comment #2
merlinofchaos commentedBoth of these items have been fixed. It's entirely possibly that most wysiwygs can work in CTools modals now.
Comment #4
_petja commentedDid you figure this out AliraSirin? I'd appreciate any pointers on how to achieve wysiwyg textarea in ctools modal..
Comment #5
qqboy commentedhow to use