/[drupal]/contributions/modules/comment_notify/comment_notify.js
ViewVC logotype

Contents of /contributions/modules/comment_notify/comment_notify.js

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


Revision 1.1 - (show annotations) (download) (as text)
Fri Feb 13 21:43:16 2009 UTC (9 months, 2 weeks ago) by greggles
Branch: MAIN
CVS Tags: DRUPAL-6--1-2, DRUPAL-6--1-3, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/javascript
task #319830 by greggles, aclight, noyz: create a simplified user interface
1 // $Id$
2 if (Drupal.jsEnabled) {
3 $(document).ready(function() {
4 $("#edit-notify-type-1").bind("click", function() {
5 if ($("#edit-notify").attr("checked", false)) {
6 // Auto-notification not checked - do it for them.
7 $("#edit-notify").attr("checked",true);
8 }
9 });
10 $("#edit-notify-type-2").bind("click", function() {
11 if ($("#edit-notify").attr("checked", false)) {
12 // Auto-notification not checked - do it for them.
13 $("#edit-notify").attr("checked",true);
14 }
15 });
16 });
17 }

  ViewVC Help
Powered by ViewVC 1.1.2