Users can now be saved with sub_roles

This commit is contained in:
chris2tof committed 2011-12-20 14:35:28 +08:00
1 parent 4108ebf06d
commit afbffe37d5
16 files changed
+125 -88

No files matched your search

+5 -1
View File
@@ -1,6 +1,10 @@
$(document).ready(function(){
$('#active_role').change(function(){
$('#user_role_id').change(function(){
$('#roles .attributes_block').hide();
$('#'+this.value+'_block').toggle();
});
$('.sub_role_select').change(function(){
$('#sub_role_' + this.value).toggle();
});
});