diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-01 11:24:41 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-01 11:24:41 +0000 |
commit | 7b11e8a255ca690c4842c760123662a2afb788f2 (patch) | |
tree | d0fdf23a6f0c975d89aa496bf7c1633c91107ed7 /mod/notifications/views/default | |
parent | a87fd505750d099a563e385c37d61d4647936b04 (diff) | |
download | elgg-7b11e8a255ca690c4842c760123662a2afb788f2.tar.gz elgg-7b11e8a255ca690c4842c760123662a2afb788f2.tar.bz2 |
update to jquery 1.3.2 and jqueryUI 1.7.2 closes #941
git-svn-id: https://code.elgg.org/elgg/trunk@3371 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications/views/default')
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/jsfuncs.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/notifications/views/default/notifications/subscriptions/jsfuncs.php b/mod/notifications/views/default/notifications/subscriptions/jsfuncs.php index 20ce25e1b..401851ac5 100644 --- a/mod/notifications/views/default/notifications/subscriptions/jsfuncs.php +++ b/mod/notifications/views/default/notifications/subscriptions/jsfuncs.php @@ -2,7 +2,7 @@ global $NOTIFICATION_HANDLERS;
-?>
+?>
<script type="text/javascript">
@@ -10,7 +10,7 @@ $(document).ready(function () { <?php
foreach($NOTIFICATION_HANDLERS as $method => $foo) {
?>
- $('input[@type=checkbox]:checked').parent("a.<?php echo $method; ?>toggleOff").each(function(){
+ $('input[type=checkbox]:checked').parent("a.<?php echo $method; ?>toggleOff").each(function(){
$(this).removeClass('<?php echo $method; ?>toggleOff').addClass('<?php echo $method; ?>toggleOn');
});
@@ -40,10 +40,10 @@ function adjust<?php echo $method; ?>_alt(linkId) { if (obj.className == "<?php echo $method; ?>toggleOff") {
obj.className = "<?php echo $method; ?>toggleOn";
- $('#' + linkId).children("INPUT[type='checkbox']").attr('checked', true);
+ $('#' + linkId).children("input[type='checkbox']").attr('checked', true);
} else {
obj.className = "<?php echo $method; ?>toggleOff";
- $('#' + linkId).children("INPUT[type='checkbox']").attr('checked', false);
+ $('#' + linkId).children("input[type='checkbox']").attr('checked', false);
}
return false;
}
|