Sofar this was working perfectly. However when doing:
"Runtime-fout Microsoft JScript: Sys.ArgumentNullException: Dialog Parameters for the MediaManager dialog do not exist
Parameter name: dialogName"
Is expected but does not exists. (See attachment) For all to other dialogs like 'LinkManager' or 'TableWizard' it the DialogDefinitions are set.
To overcome this problem we tried to create a work-arround:
ImageManagerDefinitions = editor._dialogOpener._dialogDefinitions.ImageManager;
MediaManagerDefinitions = objectCloner(ImageManagerDefinitions)
editor._dialogOpener._dialogDefinitions.MediaManager = MediaManagerDefinitions;
However this is not the full solution.. Because the ImageManager is now loaded. To make the work-arround functional de SerizalizedParameter of the Media Manager is required. Sofar we didn't find out how to get this Parameter.
Hope you can fix this bug and tell us how to get that SerizalizedParameter or tell us that we are doing something realy wrong here...