diff --git a/public/src/admin/extend/widgets.js b/public/src/admin/extend/widgets.js index 4e8d3160aa..d2bf7c28ac 100644 --- a/public/src/admin/extend/widgets.js +++ b/public/src/admin/extend/widgets.js @@ -177,8 +177,8 @@ define('admin/extend/widgets', function() { var input = $(this), value = data[input.attr('name')]; - if (this.type === 'checkbox') { - input.attr('checked', !!value); + if (input.attr('type') === 'checkbox') { + input.prop('checked', !!value).trigger('change'); } else { input.val(value); }