import { DialogCallbackObject, DialogCallbackSetup } from "../Ui/Dialog/Data";
let _mediaManager: MediaManager;
-const _didInit = false;
+let _didInit = false;
class MediaClipboard implements AjaxCallbackObject, DialogCallbackObject {
public _ajaxSetup(): ReturnType<AjaxCallbackSetup> {
});
EventHandler.add("com.woltlab.wcf.clipboard", "com.woltlab.wcf.media", (data) => clipboardAction(data));
+
+ _didInit = true;
}
_mediaManager = mediaManager;
Language = tslib_1.__importStar(Language);
Ajax = tslib_1.__importStar(Ajax);
let _mediaManager;
- const _didInit = false;
+ let _didInit = false;
class MediaClipboard {
_ajaxSetup() {
return {
pageClassName: pageClassName,
});
EventHandler.add("com.woltlab.wcf.clipboard", "com.woltlab.wcf.media", (data) => clipboardAction(data));
+ _didInit = true;
}
_mediaManager = mediaManager;
}