diff --git a/scripts/filemanager.js b/scripts/filemanager.js index c540fa54..fcaf94a0 100644 --- a/scripts/filemanager.js +++ b/scripts/filemanager.js @@ -652,6 +652,7 @@ var selectItem = function(data) { // tinymce 4 and colorbox if($.urlParam('field_name')){ parent.document.getElementById($.urlParam('field_name')).value = url; + parent.document.getElementById($.urlParam('field_name')).dispatchEvent(new Event('change')); if(typeof parent.tinyMCE !== "undefined") { parent.tinyMCE.activeEditor.windowManager.close();