[de] delayed loading for mailmerge dialog

This commit is contained in:
Konstantin Kireyev
2024-04-08 00:30:33 +05:00
parent 578332b311
commit 40db9cdc02
6 changed files with 10 additions and 11 deletions

View File

@ -37,9 +37,7 @@
*
*/
define([
'common/main/lib/component/Window'
], function () { 'use strict';
define([], function () { 'use strict';
Common.Views.AdvancedSettingsWindow = Common.UI.Window.extend(_.extend({
initialize : function(options) {

View File

@ -35,10 +35,8 @@
* Time: 16:47
*/
define([ 'text!documenteditor/main/app/template/MailMergeEmailDlg.template',
'common/main/lib/view/AdvancedSettingsWindow',
'common/main/lib/component/ComboBox',
'common/main/lib/component/InputField'
define([
'text!documenteditor/main/app/template/MailMergeEmailDlg.template'
], function (contentTemplate) {
'use strict';

View File

@ -40,8 +40,7 @@ define([
'underscore',
'backbone',
'common/main/lib/component/Button',
'common/main/lib/component/CheckBox',
'documenteditor/main/app/view/MailMergeEmailDlg'
'common/main/lib/component/CheckBox'
], function (menuTemplate, $, _, Backbone) {
'use strict';

View File

@ -45,7 +45,8 @@ define([
'tip',
'common/main/lib/component/Menu',
'common/main/lib/component/Window',
'documenteditor/main/app/model/Pages'
'documenteditor/main/app/model/Pages',
'common/main/lib/component/InputField',
],
function(template, $, _, Backbone){
'use strict';

View File

@ -219,6 +219,7 @@ require([
'common/main/lib/view/OpenDialog',
'common/main/lib/view/UserNameDialog',
'common/main/lib/view/SearchDialog',
'common/main/lib/view/AdvancedSettingsWindow',
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
'documenteditor/main/app/view/ImageSettingsAdvanced',
@ -254,7 +255,7 @@ require([
'documenteditor/main/app/view/NumberingValueDialog',
'documenteditor/main/app/view/ListIndentsDialog',
'documenteditor/main/app/view/ProtectDialog',
// 'documenteditor/main/app/view/MailMergeEmailDlg'
'documenteditor/main/app/view/MailMergeEmailDlg'
];
window.compareVersions = true;

View File

@ -1,4 +1,5 @@
require([
'common/main/lib/view/AdvancedSettingsWindow',
'common/main/lib/controller/ScreenReaderFocus',
'common/main/lib/component/ComboBoxDataView',
'common/main/lib/view/OptionsDialog',
@ -51,5 +52,6 @@ require([
'documenteditor/main/app/view/NumberingValueDialog',
'documenteditor/main/app/view/ListIndentsDialog',
'documenteditor/main/app/view/ProtectDialog',
'documenteditor/main/app/view/MailMergeEmailDlg'
], function () {
});