/[drupal]/contributions/modules/admin_message/admin_message_form.js
ViewVC logotype

Contents of /contributions/modules/admin_message/admin_message_form.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Fri Mar 6 03:02:41 2009 UTC (8 months, 3 weeks ago) by ultimateboy
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
Changes since 1.1: +2 -2 lines
File MIME type: text/javascript
#289299 by ultimateboy: initial port to d6
1 // $Id$
2
3 // Global Killswitch
4 if (Drupal.jsEnabled) {
5 $(document).ready(function() {
6 // Hide the other options if "Show message (sticky)" is not checked.
7 $("#admin-message-toggle")[['hide', 'show'][Number($("#edit-sticky")[0].checked)]]();
8
9 $("#edit-sticky").click(function() {
10 $("#admin-message-toggle")[['hide', 'show'][Number(this.checked)]]();
11 });
12 });
13 }

  ViewVC Help
Powered by ViewVC 1.1.2