Hi all! I'm creating a test plugin, in plugin.js CKFinder.dialog.add I'm trying to add an element of type iframe and pass some data to that iframe, but its throw error.
a.dialog._.gv[U.type] is undefined
[Break On This Error]
W.push(a.dialog._.gv[U.type].dQ(Q, U, Y));
Or even if it don't work, I want the type="html" and onContentLoad to work, all I want is a way to access that dailog iframe inner scripts.
Or is there any way that the dialog box don't appear inside the ckfinder iframe?
kindly help on this, thank you
a.dialog._.gv[U.type] is undefined
[Break On This Error]
W.push(a.dialog._.gv[U.type].dQ(Q, U, Y));
contents : [ { id : 'someTab', label : '', expand : true, elements : [ { id : 'myIframe', type : 'iframe', src : 'my_dialog_contents.html', width : '100%', height : 200, onContentLoad : function() { var iframe = document.getElementById(this._.frameId); iframeWindow = iframe.contentWindow; // can now call methods in the iframe window } } ] } ]
Or even if it don't work, I want the type="html" and onContentLoad to work, all I want is a way to access that dailog iframe inner scripts.
Or is there any way that the dialog box don't appear inside the ckfinder iframe?
kindly help on this, thank you