Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2011 at 10:38 UTC
Updated:
20 Apr 2012 at 07:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
daffie commentedHi Laurant,
For reloading the page after closing the modal window
For redirecting the page after closing the modal window
For sending an alert to the user
In the ctools_ajax_sample module you place the reload command in the following place
Hope this helps you
Comment #2
merlinofchaos commentedOh interesting. The ctools_ajax_command_* should do the add_js so you don't have to.
I don't suppose you'd be willing to put in a patch for this?
Comment #3
daffie commented@merlinofchaos:
Does your response not belong to issue http://drupal.org/node/1485964?
I am not sure where you want to include
Do you want to include it once in the ctool/includes/ajax.inc file or with every command in that file or do you have an other solution in mind?
Comment #4
daffie commented@merlinofchaos
The patch you requested.
Comment #5
daffie commentedComment #6
agence web coheractio commentedMany thanks daffie.
Comment #7
merlinofchaos commentedThanks for hte patch! Committed and pushed.
Comment #9
mallikarjunvh commentedhi,
can u please tell me where to add this code( in .module file or some where else)
lots of thanks
Comment #10
daffie commented@m_arjun
In the .module file. You can also use an other file. That a look at the ctools_ajax_sample module. It is included in the ctools module. The file is called ctools/ctools_ajax_sample/ctools_ajax_sample.module.