[DE] Fix new label dialog
This commit is contained in:
parent
b1d21f26ab
commit
aa595eeee2
|
@ -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 || {}));
|
||||
});
|
|
@ -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});
|
||||
|
|
|
@ -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"
|
||||
}
|
Loading…
Reference in a new issue