File upload plugin implemented as a toolbar command and added some multilanguage support. Completely removed the old FCKeditor from the source code.
This commit is contained in:
@@ -30,8 +30,8 @@ $(document).ready(function() {
|
||||
var dialogDefinition = ev.data.definition;
|
||||
|
||||
// Check if the definition is from the dialog we're
|
||||
// interested in (the 'image2' dialog).
|
||||
if ( dialogName == 'image2' ) {
|
||||
// interested in (the 'image2' and 'fileupload' dialog).
|
||||
if ( dialogName == 'image2' || dialogName == 'fileupload') {
|
||||
|
||||
var dialogObj = dialogDefinition.dialog;
|
||||
dialogObj.on("show", function() {
|
||||
|
||||
Reference in New Issue
Block a user