aboutsummaryrefslogtreecommitdiffstats
path: root/view/de/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-11 04:32:38 -0800
committerFriendika <info@friendika.com>2011-02-11 04:32:38 -0800
commit5e02519a1311cb62d7aaa2f8dc947fd0affd454c (patch)
tree71e44f2f542dfcfaba3247c792eec2191aadda92 /view/de/jot-header.tpl
parent0bfe63e7d887f484c5cc0aea37ead0c283967fee (diff)
downloadvolse-hubzilla-5e02519a1311cb62d7aaa2f8dc947fd0affd454c.tar.gz
volse-hubzilla-5e02519a1311cb62d7aaa2f8dc947fd0affd454c.tar.bz2
volse-hubzilla-5e02519a1311cb62d7aaa2f8dc947fd0affd454c.zip
disable network toggles when ACL's are entered
Diffstat (limited to 'view/de/jot-header.tpl')
-rw-r--r--view/de/jot-header.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/de/jot-header.tpl b/view/de/jot-header.tpl
index 41abdf0f3..58403f1ba 100644
--- a/view/de/jot-header.tpl
+++ b/view/de/jot-header.tpl
@@ -75,10 +75,12 @@ tinyMCE.init({
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
selstr = $(this).text();
$('#profile-jot-perms img').attr('src', 'images/lock_icon.gif');
-
+ $('.profile-jot-net input').attr('disabled', 'disabled');
});
- if(selstr == null)
+ if(selstr == null) {
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
+ $('.profile-jot-net input').attr('disabled', false);
+ }
}).trigger('change');