aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/de/jot-header.tpl6
-rw-r--r--view/en/jot-header.tpl6
-rw-r--r--view/fr/jot-header.tpl7
-rw-r--r--view/it/jot-header.tpl6
4 files changed, 16 insertions, 9 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');
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');
diff --git a/view/fr/jot-header.tpl b/view/fr/jot-header.tpl
index d0c956a02..ff7e543a5 100644
--- a/view/fr/jot-header.tpl
+++ b/view/fr/jot-header.tpl
@@ -75,11 +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');
});
diff --git a/view/it/jot-header.tpl b/view/it/jot-header.tpl
index e55a357e8..117cd1651 100644
--- a/view/it/jot-header.tpl
+++ b/view/it/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');