aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/connedit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/connedit.php b/mod/connedit.php
index 8ae1707ae..cb524547c 100644
--- a/mod/connedit.php
+++ b/mod/connedit.php
@@ -345,12 +345,12 @@ function connedit_content(&$a) {
$o .= "<script>function connectDefaultShare() {
\$('.abook-edit-me').each(function() {
if(! $(this).is(':disabled'))
- $(this).removeAttr('checked');
+ $(this).prop('checked', false);
});\n\n";
$perms = get_perms();
foreach($perms as $p => $v) {
if($my_perms & $v[1]) {
- $o .= "\$('#me_id_perms_" . $p . "').attr('checked','checked'); \n";
+ $o .= "\$('#me_id_perms_" . $p . "').prop('checked', true); \n";
}
}
$o .= " }\n</script>\n";