Use grouped select field for role selection
This commit is contained in:
@@ -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();
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user