aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-01 15:54:16 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-01 15:54:16 +0100
commit85e76773a04995884e798a89cc285f48377bcb62 (patch)
treec1ead5390bc85fda87a406971a5efe6191ca0785 /view/js
parent686b6ee1182c09969e2817b53825a78975c75bf5 (diff)
downloadvolse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.tar.gz
volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.tar.bz2
volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.zip
Use grouped select field for role selection
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_new_channel.js2
-rw-r--r--view/js/mod_settings.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js
index 492267ff9..c4d5408f2 100644
--- a/view/js/mod_new_channel.js
+++ b/view/js/mod_new_channel.js
@@ -1,5 +1,5 @@
$(document).ready(function() {
-// $("#privacy-role-select").sSelect();
+// $("#id_permissions_role").sSelect();
$("#newchannel-name").blur(function() {
$("#name-spinner").spin('small');
var zreg_name = $("#newchannel-name").val();
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js
index 87c8c3a2b..90e17afc4 100644
--- a/view/js/mod_settings.js
+++ b/view/js/mod_settings.js
@@ -8,8 +8,8 @@ $(document).ready(function() {
'transition' : 'elastic'
});
- $("#privacy-role-select").change(function() {
- var role = $("#privacy-role-select").val();
+ $("#id_permissions_role").change(function() {
+ var role = $("#id_permissions_role").val();
if(role == 'custom')
$('#advanced-perm').show();
else