diff --git a/addons/default/visiosoft/singlefile-field_type/resources/js/input.js b/addons/default/visiosoft/singlefile-field_type/resources/js/input.js index 9aefed2ec..31e9f4d9f 100644 --- a/addons/default/visiosoft/singlefile-field_type/resources/js/input.js +++ b/addons/default/visiosoft/singlefile-field_type/resources/js/input.js @@ -1,5 +1,4 @@ -$(document).on('ajaxComplete ready', function () { - +$( document ).ready(function() { // Initialize file pickers $('[data-provides="visiosoft.field_type.singlefile"]:not([data-initialized])').each(function () {