修改role添加显示

pull/26/head
ibuler 9 years ago
parent 4672884255
commit 3f000b9d54

@ -115,7 +115,7 @@ $('#roleForm').validator({
valid: function(form) {
form.submit();
}
})
});
var config = {
'.chosen-select' : {},

@ -107,7 +107,19 @@ $('#roleForm').validator({
valid: function(form) {
form.submit();
}
})
});
var config = {
'.chosen-select' : {},
'.chosen-select-deselect' : {allow_single_deselect:true},
'.chosen-select-no-single' : {disable_search_threshold:10},
'.chosen-select-no-results': {no_results_text:'Oops, nothing found!'},
'.chosen-select-width' : {width:"95%"}
};
for (var selector in config) {
$(selector).chosen(config[selector]);
}
</script>
<script src="/static/js/cropper/cropper.min.js"></script>

Loading…
Cancel
Save