upgrading to tinymce 2.0.6.1
This commit is contained in:
parent
f8e69afdf4
commit
0534118f8d
70 changed files with 1159 additions and 555 deletions
|
|
@ -256,6 +256,16 @@ TinyMCE_Popup.prototype.openBrowser = function(element_id, type, option) {
|
|||
eval("tinyMCEPopup.windowOpener." + cb + "(element_id, url, type, window);");
|
||||
};
|
||||
|
||||
|
||||
TinyMCE_Popup.prototype.importClass = function(c) {
|
||||
window[c] = function() {};
|
||||
|
||||
for (var n in window.opener[c].prototype)
|
||||
window[c].prototype[n] = window.opener[c].prototype[n];
|
||||
|
||||
window[c].constructor = window.opener[c].constructor;
|
||||
};
|
||||
|
||||
// Setup global instance
|
||||
var tinyMCEPopup = new TinyMCE_Popup();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue