orbit-basic/app/assets/javascripts/user_form.js

6 lines
159 B
JavaScript
Raw Normal View History

2011-12-05 02:36:25 +00:00
$(document).ready(function(){
$('#active_role').change(function(){
$('#roles .attributes_block').hide();
2011-12-05 02:36:25 +00:00
$('#'+this.value+'_block').toggle();
});
});