[DE] SignDialog, SignSettingsDialog ->Common.
This commit is contained in:
parent
75ee04008b
commit
ad866734b6
|
@ -49,7 +49,7 @@ define([
|
|||
'common/main/lib/component/ComboBoxFonts'
|
||||
], function () { 'use strict';
|
||||
|
||||
DE.Views.SignDialog = Common.UI.Window.extend(_.extend({
|
||||
Common.Views.SignDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
width: 350,
|
||||
style: 'min-width: 350px;',
|
||||
|
@ -345,5 +345,5 @@ define([
|
|||
textBold: 'Bold',
|
||||
textItalic: 'Italic'
|
||||
|
||||
}, DE.Views.SignDialog || {}))
|
||||
}, Common.Views.SignDialog || {}))
|
||||
});
|
|
@ -49,7 +49,7 @@ define([
|
|||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
|
||||
DE.Views.SignSettingsDialog = Common.UI.Window.extend(_.extend({
|
||||
Common.Views.SignSettingsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
width: 350,
|
||||
style: 'min-width: 350px;',
|
||||
|
@ -199,5 +199,5 @@ define([
|
|||
textAllowComment: 'Allow signer to add comment in the signature dialog',
|
||||
textShowDate: 'Show sign date in signature line',
|
||||
textTitle: 'Signature Settings'
|
||||
}, DE.Views.SignSettingsDialog || {}))
|
||||
}, Common.Views.SignSettingsDialog || {}))
|
||||
});
|
|
@ -43,10 +43,10 @@
|
|||
define([
|
||||
'core',
|
||||
'common/main/lib/util/Shortcuts',
|
||||
'common/main/lib/view/SignSettingsDialog',
|
||||
'common/main/lib/view/SignDialog',
|
||||
'documenteditor/main/app/view/LeftMenu',
|
||||
'documenteditor/main/app/view/FileMenu',
|
||||
'documenteditor/main/app/view/SignSettingsDialog',
|
||||
'documenteditor/main/app/view/SignDialog'
|
||||
'documenteditor/main/app/view/FileMenu'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
@ -677,7 +677,7 @@ define([
|
|||
|
||||
addVisibleSign: function(menu) {
|
||||
var me = this,
|
||||
win = new DE.Views.SignSettingsDialog({
|
||||
win = new Common.Views.SignSettingsDialog({
|
||||
handler: function(dlg, result) {
|
||||
if (result == 'ok') {
|
||||
me.api.asc_AddSignatureLine2(dlg.getSettings());
|
||||
|
@ -694,7 +694,7 @@ define([
|
|||
|
||||
addInvisibleSign: function(menu) {
|
||||
var me = this,
|
||||
win = new DE.Views.SignDialog({
|
||||
win = new Common.Views.SignDialog({
|
||||
api: me.api,
|
||||
signType: 'invisible',
|
||||
handler: function(dlg, result) {
|
||||
|
|
|
@ -49,11 +49,11 @@ define([
|
|||
'common/main/lib/component/Menu',
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/CopyWarningDialog',
|
||||
'common/main/lib/view/SignDialog',
|
||||
'documenteditor/main/app/view/DropcapSettingsAdvanced',
|
||||
'documenteditor/main/app/view/HyperlinkSettingsDialog',
|
||||
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
'documenteditor/main/app/view/TableSettingsAdvanced',
|
||||
'documenteditor/main/app/view/SignDialog'
|
||||
'documenteditor/main/app/view/TableSettingsAdvanced'
|
||||
], function ($, _, Backbone, gateway) { 'use strict';
|
||||
|
||||
DE.Views.DocumentHolder = Backbone.View.extend(_.extend({
|
||||
|
@ -739,7 +739,7 @@ define([
|
|||
me.fontStore.add(arr);
|
||||
}
|
||||
|
||||
var win = new DE.Views.SignDialog({
|
||||
var win = new Common.Views.SignDialog({
|
||||
api: me.api,
|
||||
signType: 'visible',
|
||||
fontStore: me.fontStore,
|
||||
|
|
|
@ -44,8 +44,8 @@ define([
|
|||
'underscore',
|
||||
'backbone',
|
||||
'common/main/lib/component/Button',
|
||||
'documenteditor/main/app/view/SignSettingsDialog',
|
||||
'documenteditor/main/app/view/SignDialog'
|
||||
'common/main/lib/view/SignDialog',
|
||||
'common/main/lib/view/SignSettingsDialog'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
|
@ -206,7 +206,7 @@ define([
|
|||
|
||||
addVisibleSign: function(btn) {
|
||||
var me = this,
|
||||
win = new DE.Views.SignSettingsDialog({
|
||||
win = new Common.Views.SignSettingsDialog({
|
||||
handler: function(dlg, result) {
|
||||
if (result == 'ok') {
|
||||
me.api.asc_AddSignatureLine2(dlg.getSettings());
|
||||
|
@ -220,7 +220,7 @@ define([
|
|||
|
||||
addInvisibleSign: function(btn) {
|
||||
var me = this,
|
||||
win = new DE.Views.SignDialog({
|
||||
win = new Common.Views.SignDialog({
|
||||
api: me.api,
|
||||
signType: 'invisible',
|
||||
handler: function(dlg, result) {
|
||||
|
@ -253,7 +253,7 @@ define([
|
|||
me.fontStore.add(arr);
|
||||
}
|
||||
|
||||
var win = new DE.Views.SignDialog({
|
||||
var win = new Common.Views.SignDialog({
|
||||
api: me.api,
|
||||
signType: 'visible',
|
||||
fontStore: me.fontStore,
|
||||
|
|
Loading…
Reference in a new issue