Move the mediatag and avatar code outsite of common-ui-elements
This commit is contained in:
@@ -11,6 +11,7 @@ define([
|
||||
'/common/sframe-common-codemirror.js',
|
||||
'/common/sframe-common-cursor.js',
|
||||
'/common/sframe-common-mailbox.js',
|
||||
'/common/inner/common-mediatag.js',
|
||||
'/common/metadata-manager.js',
|
||||
|
||||
'/customize/application_config.js',
|
||||
@@ -35,6 +36,7 @@ define([
|
||||
CodeMirror,
|
||||
Cursor,
|
||||
Mailbox,
|
||||
MT,
|
||||
MetadataMgr,
|
||||
AppConfig,
|
||||
CommonRealtime,
|
||||
@@ -90,8 +92,8 @@ define([
|
||||
funcs.initFilePicker = callWithCommon(UIElements.initFilePicker);
|
||||
funcs.openFilePicker = callWithCommon(UIElements.openFilePicker);
|
||||
funcs.openTemplatePicker = callWithCommon(UIElements.openTemplatePicker);
|
||||
funcs.displayMediatagImage = callWithCommon(UIElements.displayMediatagImage);
|
||||
funcs.displayAvatar = callWithCommon(UIElements.displayAvatar);
|
||||
funcs.displayMediatagImage = callWithCommon(MT.displayMediatagImage);
|
||||
funcs.displayAvatar = callWithCommon(MT.displayAvatar);
|
||||
funcs.createButton = callWithCommon(UIElements.createButton);
|
||||
funcs.createUsageBar = callWithCommon(UIElements.createUsageBar);
|
||||
funcs.updateTags = callWithCommon(UIElements.updateTags);
|
||||
@@ -103,6 +105,7 @@ define([
|
||||
funcs.createNewPadModal = callWithCommon(UIElements.createNewPadModal);
|
||||
funcs.onServerError = callWithCommon(UIElements.onServerError);
|
||||
funcs.importMediaTagMenu = callWithCommon(UIElements.importMediaTagMenu);
|
||||
funcs.getMediaTagPreview = callWithCommon(UIElements.getMediaTagPreview);
|
||||
|
||||
// Thumb
|
||||
funcs.displayThumbnail = callWithCommon(Thumb.displayThumbnail);
|
||||
|
||||
Reference in New Issue
Block a user