aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-01 11:24:41 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-01 11:24:41 +0000
commit7b11e8a255ca690c4842c760123662a2afb788f2 (patch)
treed0fdf23a6f0c975d89aa496bf7c1633c91107ed7 /mod/notifications/views/default
parenta87fd505750d099a563e385c37d61d4647936b04 (diff)
downloadelgg-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.php8
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;
}