Parent Directory
|
Revision Log
|
Revision Graph
Cleanup of drupalorg module and some blocks_and_nodes modules for starting new feature development. - All project* related things moved into drupalorg_project module, including project stuff from drupalorg module, bingo.*, branches.*, project_stuff.* and redirects.*. - The drupalorg module itself moved down to a drupalorg subdirectory, so the supplemental files do not interfer with the rest of the modules.
| 1 | /* $Id: drupalorg.release_node.js,v 1.1 2008/12/14 02:41:38 dww Exp $ */ |
| 2 | |
| 3 | /** |
| 4 | * When adding a new release, show the confirm checkbox for security updates. |
| 5 | */ |
| 6 | Drupal.drupalorgShowSecurityUpdateConfirmAutoAttach = function () { |
| 7 | $('div.release-type-select .form-select').change(function () { |
| 8 | var securityUpdate = false; |
| 9 | $('option:selected', this).each(function() { |
| 10 | if ($(this).text() == 'Security update') { |
| 11 | securityUpdate = true; |
| 12 | } |
| 13 | }); |
| 14 | if (securityUpdate) { |
| 15 | $('div.security-update-confirm').show(); |
| 16 | } |
| 17 | else { |
| 18 | $('div.security-update-confirm').hide(); |
| 19 | } |
| 20 | }); |
| 21 | }; |
| 22 | |
| 23 | // Global killswitch. |
| 24 | if (Drupal.jsEnabled) { |
| 25 | $(function() { |
| 26 | Drupal.drupalorgShowSecurityUpdateConfirmAutoAttach(); |
| 27 | }); |
| 28 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |