mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 02:29:58 +08:00
fix/[pdf,se]: post-load dialogs
This commit is contained in:
@ -38,7 +38,8 @@ define([
|
||||
'text!common/main/lib/template/SearchPanel.template',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/BaseView',
|
||||
'common/main/lib/component/Layout'
|
||||
'common/main/lib/component/Layout',
|
||||
'common/main/lib/component/InputField',
|
||||
], function (template) {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -183,6 +183,7 @@ require([
|
||||
], function() {
|
||||
app.postLaunchScripts = [
|
||||
'common/main/lib/controller/ScreenReaderFocus',
|
||||
'common/main/lib/component/ComboBoxDataView',
|
||||
'common/main/lib/component/ListView',
|
||||
'common/main/lib/view/AdvancedSettingsWindow',
|
||||
'common/main/lib/view/AutoCorrectDialog',
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
require([
|
||||
'common/main/lib/controller/ScreenReaderFocus',
|
||||
'common/main/lib/component/ListView',
|
||||
'common/main/lib/component/ComboBoxDataView',
|
||||
'common/main/lib/view/AdvancedSettingsWindow',
|
||||
'common/main/lib/view/AutoCorrectDialog',
|
||||
'common/main/lib/view/DocumentAccessDialog',
|
||||
@ -22,6 +23,8 @@ require([
|
||||
'pdfeditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
'pdfeditor/main/app/view/ImageSettingsAdvanced',
|
||||
'pdfeditor/main/app/view/HyperlinkSettingsDialog',
|
||||
'pdfeditor/main/app/view/ShapeSettingsAdvanced',
|
||||
'pdfeditor/main/app/view/TableSettingsAdvanced',
|
||||
], function () {
|
||||
Common.NotificationCenter.trigger('script:loaded');
|
||||
});
|
||||
|
||||
@ -61,11 +61,7 @@ define([
|
||||
'core',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/util/Shortcuts',
|
||||
'spreadsheeteditor/main/app/view/DocumentHolder',
|
||||
'spreadsheeteditor/main/app/view/HyperlinkSettingsDialog',
|
||||
'spreadsheeteditor/main/app/view/SetValueDialog',
|
||||
'spreadsheeteditor/main/app/view/AutoFilterDialog',
|
||||
'spreadsheeteditor/main/app/view/PivotGroupDialog'
|
||||
'spreadsheeteditor/main/app/view/DocumentHolder'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -45,13 +45,6 @@ define([
|
||||
'spreadsheeteditor/main/app/view/Toolbar',
|
||||
'spreadsheeteditor/main/app/collection/TableTemplates',
|
||||
'spreadsheeteditor/main/app/controller/PivotTable',
|
||||
'spreadsheeteditor/main/app/view/HyperlinkSettingsDialog',
|
||||
'spreadsheeteditor/main/app/view/TableOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/PageMarginsDialog',
|
||||
'spreadsheeteditor/main/app/view/HeaderFooterDialog',
|
||||
'spreadsheeteditor/main/app/view/PrintTitlesDialog',
|
||||
'spreadsheeteditor/main/app/view/ScaleDialog',
|
||||
'spreadsheeteditor/main/app/view/AdvancedSeparatorDialog',
|
||||
], function () { 'use strict';
|
||||
|
||||
SSE.Controllers.Toolbar = Backbone.Controller.extend(_.extend({
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/InputField'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.AdvancedSeparatorDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -39,11 +39,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/ColorPaletteExt',
|
||||
'common/main/lib/component/Calendar'
|
||||
], function () {
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
SSE.Views = SSE.Views || {};
|
||||
|
||||
@ -38,12 +38,7 @@
|
||||
*/
|
||||
|
||||
|
||||
define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/ComboBoxFonts'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.HeaderFooterDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -41,13 +41,7 @@
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/ComboBox',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/TreeView'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.HyperlinkSettingsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.PageMarginsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
* Copyright (c) 2020 Ascensio System SIA. All rights reserved.
|
||||
*
|
||||
*/
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.PrintTitlesDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.ScaleDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/ComboBox'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.SetValueDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -41,12 +41,7 @@
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/component/ComboBox',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
SSE.Views.TableOptionsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -220,18 +220,15 @@ require([
|
||||
'spreadsheeteditor/main/app/view/ChartDataDialog',
|
||||
'spreadsheeteditor/main/app/view/SortDialog',
|
||||
'spreadsheeteditor/main/app/view/ViewManagerDlg',
|
||||
// 'spreadsheeteditor/main/app/view/CellSettings',
|
||||
'spreadsheeteditor/main/app/view/ChartDataDialog',
|
||||
// 'spreadsheeteditor/main/app/view/ChartSettings',
|
||||
'spreadsheeteditor/main/app/view/ChartTypeDialog',
|
||||
'spreadsheeteditor/main/app/view/ExternalLinksDlg',
|
||||
// 'spreadsheeteditor/main/app/view/FileMenuPanels',
|
||||
'spreadsheeteditor/main/app/view/FormatRulesEditDlg',
|
||||
'spreadsheeteditor/main/app/view/FormatRulesManagerDlg',
|
||||
'spreadsheeteditor/main/app/view/MacroDialog',
|
||||
'spreadsheeteditor/main/app/view/NameManagerDlg',
|
||||
'spreadsheeteditor/main/app/view/NamedRangePasteDlg',
|
||||
'spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
// 'spreadsheeteditor/main/app/view/PivotSettings',
|
||||
'spreadsheeteditor/main/app/view/PrintSettings',
|
||||
'spreadsheeteditor/main/app/view/ProtectRangesDlg',
|
||||
'spreadsheeteditor/main/app/view/ProtectedRangesManagerDlg',
|
||||
@ -263,7 +260,18 @@ require([
|
||||
'spreadsheeteditor/main/app/view/ShapeSettingsAdvanced',
|
||||
'spreadsheeteditor/main/app/view/ProtectDialog',
|
||||
'spreadsheeteditor/main/app/view/ProtectedRangesEditDlg',
|
||||
'spreadsheeteditor/main/app/view/CreatePivotDialog'
|
||||
'spreadsheeteditor/main/app/view/CreatePivotDialog',
|
||||
'spreadsheeteditor/main/app/view/SortOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/TableOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/SetValueDialog',
|
||||
'spreadsheeteditor/main/app/view/ScaleDialog',
|
||||
'spreadsheeteditor/main/app/view/PrintTitlesDialog',
|
||||
'spreadsheeteditor/main/app/view/TableOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/PageMarginsDialog',
|
||||
'spreadsheeteditor/main/app/view/HyperlinkSettingsDialog',
|
||||
'spreadsheeteditor/main/app/view/HeaderFooterDialog',
|
||||
'spreadsheeteditor/main/app/view/AdvancedSeparatorDialog',
|
||||
'spreadsheeteditor/main/app/view/AutoFilterDialog',
|
||||
];
|
||||
|
||||
window.compareVersions = true;
|
||||
|
||||
@ -25,18 +25,15 @@ require([
|
||||
'spreadsheeteditor/main/app/view/ChartDataDialog',
|
||||
'spreadsheeteditor/main/app/view/SortDialog',
|
||||
'spreadsheeteditor/main/app/view/ViewManagerDlg',
|
||||
// 'spreadsheeteditor/main/app/view/CellSettings',
|
||||
'spreadsheeteditor/main/app/view/ChartDataDialog',
|
||||
// 'spreadsheeteditor/main/app/view/ChartSettings',
|
||||
'spreadsheeteditor/main/app/view/ChartTypeDialog',
|
||||
'spreadsheeteditor/main/app/view/ExternalLinksDlg',
|
||||
// 'spreadsheeteditor/main/app/view/FileMenuPanels',
|
||||
'spreadsheeteditor/main/app/view/FormatRulesEditDlg',
|
||||
'spreadsheeteditor/main/app/view/FormatRulesManagerDlg',
|
||||
'spreadsheeteditor/main/app/view/MacroDialog',
|
||||
'spreadsheeteditor/main/app/view/NameManagerDlg',
|
||||
'spreadsheeteditor/main/app/view/NamedRangePasteDlg',
|
||||
'spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
// 'spreadsheeteditor/main/app/view/PivotSettings',
|
||||
'spreadsheeteditor/main/app/view/PrintSettings',
|
||||
'spreadsheeteditor/main/app/view/ProtectRangesDlg',
|
||||
'spreadsheeteditor/main/app/view/ProtectedRangesManagerDlg',
|
||||
@ -68,7 +65,18 @@ require([
|
||||
'spreadsheeteditor/main/app/view/ShapeSettingsAdvanced',
|
||||
'spreadsheeteditor/main/app/view/ProtectDialog',
|
||||
'spreadsheeteditor/main/app/view/ProtectedRangesEditDlg',
|
||||
'spreadsheeteditor/main/app/view/CreatePivotDialog'
|
||||
'spreadsheeteditor/main/app/view/CreatePivotDialog',
|
||||
'spreadsheeteditor/main/app/view/SortOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/TableOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/SetValueDialog',
|
||||
'spreadsheeteditor/main/app/view/ScaleDialog',
|
||||
'spreadsheeteditor/main/app/view/PrintTitlesDialog',
|
||||
'spreadsheeteditor/main/app/view/TableOptionsDialog',
|
||||
'spreadsheeteditor/main/app/view/PageMarginsDialog',
|
||||
'spreadsheeteditor/main/app/view/HyperlinkSettingsDialog',
|
||||
'spreadsheeteditor/main/app/view/HeaderFooterDialog',
|
||||
'spreadsheeteditor/main/app/view/AdvancedSeparatorDialog',
|
||||
'spreadsheeteditor/main/app/view/AutoFilterDialog',
|
||||
], function () {
|
||||
Common.NotificationCenter.trigger('script:loaded');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user