Commit 7d95b604 authored by PJ Janse van Rensburg's avatar PJ Janse van Rensburg

Merge branch 'master' of https://github.com/propelinc/flask-admin into inline-boolean

parents ab1c0315 ec99ee96
...@@ -494,7 +494,7 @@ ...@@ -494,7 +494,7 @@
case 'x-editable-boolean': case 'x-editable-boolean':
$el.editable({ $el.editable({
params: overrideXeditableParams, params: overrideXeditableParams,
display: function(value, sourceData, response) { display: function(value, response) {
// display boolean value as an icon // display boolean value as an icon
if(value == '1') { if(value == '1') {
$(this).html('<span class="fa fa-check-circle glyphicon glyphicon-ok-circle icon-ok-circle"></span>'); $(this).html('<span class="fa fa-check-circle glyphicon glyphicon-ok-circle icon-ok-circle"></span>');
......
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