[DE] Fix new label dialog

This commit is contained in:
Julia Radzhabova 2019-10-04 11:41:02 +03:00
parent b1d21f26ab
commit aa595eeee2
3 changed files with 6 additions and 6 deletions

View file

@ -43,7 +43,7 @@ define([
'common/main/lib/component/InputField'
], function () { 'use strict';
Common.Views.AddNewCaptionLabelDialog = Common.UI.Window.extend(_.extend({
DE.Views.AddNewCaptionLabelDialog = Common.UI.Window.extend(_.extend({
options: {
width: 330,
header: false,
@ -123,5 +123,5 @@ define([
textLabel: 'Label:',
textLabelError: 'Label must not be empty.'
}, Common.Views.AddNewCaptionLabelDialog || {}));
}, DE.Views.AddNewCaptionLabelDialog || {}));
});

View file

@ -213,7 +213,7 @@ define([
});
this.btnAdd.on('click', _.bind(function (e) {
var me = this;
(new Common.Views.AddNewCaptionLabelDialog({
(new DE.Views.AddNewCaptionLabelDialog({
handler: function(result, value) {
if (result == 'ok') {
var rec = _.findWhere(me.arrLabel, {value: value});

View file

@ -993,6 +993,8 @@
"DE.Controllers.Toolbar.txtSymbol_zeta": "Zeta",
"DE.Controllers.Viewport.textFitPage": "Fit to Page",
"DE.Controllers.Viewport.textFitWidth": "Fit to Width",
"DE.Views.AddNewCaptionLabelDialog.textLabel": "Label:",
"DE.Views.AddNewCaptionLabelDialog.textLabelError": "Label must not be empty."
"DE.Views.BookmarksDialog.textAdd": "Add",
"DE.Views.BookmarksDialog.textBookmarkName": "Bookmark name",
"DE.Views.BookmarksDialog.textClose": "Close",
@ -2258,7 +2260,5 @@
"DE.Views.WatermarkSettingsDialog.textTransparency": "Semitransparent",
"DE.Views.WatermarkSettingsDialog.textUnderline": "Underline",
"DE.Views.WatermarkSettingsDialog.tipFontName": "Font Name",
"DE.Views.WatermarkSettingsDialog.tipFontSize": "Font Size",
"DE.Views.AddNewCaptionLabelDialog.textLabel": "Label:",
"DE.Views.AddNewCaptionLabelDialog.textLabelError": "Label must not be empty."
"DE.Views.WatermarkSettingsDialog.tipFontSize": "Font Size"
}