aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-24 12:50:43 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-05-24 12:50:43 +1000
commita332dfcf6be6fc553f4a1b6400173cde43a7a6b6 (patch)
tree5797b1477517174630e5dad7418a6e76b185c63f /mod
parent08b00f0f5e3e17abe1c26d9db2e6d02d49e887f8 (diff)
parentd37c51ef2ea342a13e91687487fdf01881c98f95 (diff)
downloadvolse-hubzilla-a332dfcf6be6fc553f4a1b6400173cde43a7a6b6.tar.gz
volse-hubzilla-a332dfcf6be6fc553f4a1b6400173cde43a7a6b6.tar.bz2
volse-hubzilla-a332dfcf6be6fc553f4a1b6400173cde43a7a6b6.zip
Merge pull request #331 from solstag/jqueryprop
Fix accepting contacts by using correct jquery calls.
Diffstat (limited to 'mod')
-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";