Commit 3f000b9d authored by ibuler's avatar ibuler

修改role添加显示

parent 46728842
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment