Unverified Commit 9cfd3bdc authored by Sebastian Castro's avatar Sebastian Castro
Browse files

fixs no more sonata_config in javascript window object

parent dae06dbc
......@@ -10,11 +10,8 @@
.closest('table')
.find('td.sonata-ba-list-field-batch input[type="checkbox"], div.sonata-ba-list-field-batch input[type="checkbox"]')
;
if (window.SONATA_CONFIG.USE_ICHECK) {
checkboxes.iCheck($(this).is(':checked') ? 'check' : 'uncheck');
} else {
checkboxes.prop('checked', this.checked);
}
checkboxes.iCheck($(this).is(':checked') ? 'check' : 'uncheck');
checkboxes.prop('checked', this.checked);
});
// Add a CSS class to rows when they are selected
......
......@@ -149,8 +149,6 @@
// Helpers
var formBuilder;
var formBuilderInitialized = false;
window.SONATA_CONFIG.CONFIRM_EXIT = false;
</script>
{% endblock %}
......
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