diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-24 15:50:05 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-24 15:50:05 -0700 |
commit | 851f2f64df284d4ec410cdf7511b365db9fc5e9b (patch) | |
tree | 81484c475285226961b51240dd071197b7021791 /mod/connedit.php | |
parent | 5795e2a58bb4a0702a3d318ec6ac05681d6e5864 (diff) | |
parent | 13546167877322afa274a2540656f525e55d3b48 (diff) | |
download | volse-hubzilla-851f2f64df284d4ec410cdf7511b365db9fc5e9b.tar.gz volse-hubzilla-851f2f64df284d4ec410cdf7511b365db9fc5e9b.tar.bz2 volse-hubzilla-851f2f64df284d4ec410cdf7511b365db9fc5e9b.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
index.php
mod/setup.php
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 250da672a..91fa2f324 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -347,12 +347,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"; |