diff options
author | Friendika <info@friendika.com> | 2011-02-11 04:32:38 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-11 04:32:38 -0800 |
commit | 5e02519a1311cb62d7aaa2f8dc947fd0affd454c (patch) | |
tree | 71e44f2f542dfcfaba3247c792eec2191aadda92 /view/en/jot-header.tpl | |
parent | 0bfe63e7d887f484c5cc0aea37ead0c283967fee (diff) | |
download | volse-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/en/jot-header.tpl')
-rw-r--r-- | view/en/jot-header.tpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/en/jot-header.tpl b/view/en/jot-header.tpl index d0c956a02..fe818410e 100644 --- a/view/en/jot-header.tpl +++ b/view/en/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'); |