Created
March 22, 2017 15:23
-
-
Save init90/155c388485a25e26b84adf6e46fb76e9 to your computer and use it in GitHub Desktop.
Run ctools popup after page load.
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.behaviors.security_questions_popup = { | |
| attach: function(context, settings) { | |
| var need_add_questions = Drupal.settings.global.need_add_security_questions; | |
| if (need_add_questions) { | |
| $(window).bind('load', function() { | |
| $('.security_questions_hide_link').click(); | |
| }); | |
| } | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment