Last active
May 5, 2017 07:54
-
-
Save init90/ebf43df88bf94b22097ba2fb08f75b09 to your computer and use it in GitHub Desktop.
Drupal 7, Js for close ctools popup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Drupal.CTools.Modal.dismiss(); | |
| $form['cancel'] = array( | |
| '#type' => 'button', | |
| '#value' => t('Cancel'), | |
| '#attributes' => array('onClick' => 'Drupal.CTools.Modal.dismiss();'), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment