diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-24 15:59:03 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-24 15:59:03 -0700 |
commit | d9061fd09ecdb4fe94ac6b2b99e8f35f613ad653 (patch) | |
tree | 20c715f196dbbca6cc8b54d426ca98ac3d1792d1 /mod/connedit.php | |
parent | 52e38d7c24d9e2517e4691a0f2548a695e7806da (diff) | |
parent | 13546167877322afa274a2540656f525e55d3b48 (diff) | |
download | volse-hubzilla-d9061fd09ecdb4fe94ac6b2b99e8f35f613ad653.tar.gz volse-hubzilla-d9061fd09ecdb4fe94ac6b2b99e8f35f613ad653.tar.bz2 volse-hubzilla-d9061fd09ecdb4fe94ac6b2b99e8f35f613ad653.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'mod/connedit.php')
-rw-r--r-- | mod/connedit.php | 4 |
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"; |