I am using this package and somehow I am getting an error in the console. This is what js function in the document looks like:
function elFinderBrowser (field_name, url, type, win) {
tinymce.activeEditor.windowManager.open({
file: '<?= route('elfinder.tinymce4') ?>',// use an absolute path!
title: 'elFinder 2.0',
width: 900,
height: 450,
resizable: 'yes'
}, {
setUrl: function (url) {
win.document.getElementById(field_name).value = url;
}
});
return false;
}
This gives an error: Uncaught TypeError: a is not a function
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire