From 5e02519a1311cb62d7aaa2f8dc947fd0affd454c Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 11 Feb 2011 04:32:38 -0800 Subject: disable network toggles when ACL's are entered --- view/en/jot-header.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'view/en/jot-header.tpl') 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'); -- cgit v1.2.3