[DE] Fix new label dialog
This commit is contained in:
parent
b1d21f26ab
commit
aa595eeee2
|
@ -43,7 +43,7 @@ define([
|
||||||
'common/main/lib/component/InputField'
|
'common/main/lib/component/InputField'
|
||||||
], function () { 'use strict';
|
], function () { 'use strict';
|
||||||
|
|
||||||
Common.Views.AddNewCaptionLabelDialog = Common.UI.Window.extend(_.extend({
|
DE.Views.AddNewCaptionLabelDialog = Common.UI.Window.extend(_.extend({
|
||||||
options: {
|
options: {
|
||||||
width: 330,
|
width: 330,
|
||||||
header: false,
|
header: false,
|
||||||
|
@ -123,5 +123,5 @@ define([
|
||||||
|
|
||||||
textLabel: 'Label:',
|
textLabel: 'Label:',
|
||||||
textLabelError: 'Label must not be empty.'
|
textLabelError: 'Label must not be empty.'
|
||||||
}, Common.Views.AddNewCaptionLabelDialog || {}));
|
}, DE.Views.AddNewCaptionLabelDialog || {}));
|
||||||
});
|
});
|
|
@ -213,7 +213,7 @@ define([
|
||||||
});
|
});
|
||||||
this.btnAdd.on('click', _.bind(function (e) {
|
this.btnAdd.on('click', _.bind(function (e) {
|
||||||
var me = this;
|
var me = this;
|
||||||
(new Common.Views.AddNewCaptionLabelDialog({
|
(new DE.Views.AddNewCaptionLabelDialog({
|
||||||
handler: function(result, value) {
|
handler: function(result, value) {
|
||||||
if (result == 'ok') {
|
if (result == 'ok') {
|
||||||
var rec = _.findWhere(me.arrLabel, {value: value});
|
var rec = _.findWhere(me.arrLabel, {value: value});
|
||||||
|
|
|
@ -993,6 +993,8 @@
|
||||||
"DE.Controllers.Toolbar.txtSymbol_zeta": "Zeta",
|
"DE.Controllers.Toolbar.txtSymbol_zeta": "Zeta",
|
||||||
"DE.Controllers.Viewport.textFitPage": "Fit to Page",
|
"DE.Controllers.Viewport.textFitPage": "Fit to Page",
|
||||||
"DE.Controllers.Viewport.textFitWidth": "Fit to Width",
|
"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.textAdd": "Add",
|
||||||
"DE.Views.BookmarksDialog.textBookmarkName": "Bookmark name",
|
"DE.Views.BookmarksDialog.textBookmarkName": "Bookmark name",
|
||||||
"DE.Views.BookmarksDialog.textClose": "Close",
|
"DE.Views.BookmarksDialog.textClose": "Close",
|
||||||
|
@ -2258,7 +2260,5 @@
|
||||||
"DE.Views.WatermarkSettingsDialog.textTransparency": "Semitransparent",
|
"DE.Views.WatermarkSettingsDialog.textTransparency": "Semitransparent",
|
||||||
"DE.Views.WatermarkSettingsDialog.textUnderline": "Underline",
|
"DE.Views.WatermarkSettingsDialog.textUnderline": "Underline",
|
||||||
"DE.Views.WatermarkSettingsDialog.tipFontName": "Font Name",
|
"DE.Views.WatermarkSettingsDialog.tipFontName": "Font Name",
|
||||||
"DE.Views.WatermarkSettingsDialog.tipFontSize": "Font Size",
|
"DE.Views.WatermarkSettingsDialog.tipFontSize": "Font Size"
|
||||||
"DE.Views.AddNewCaptionLabelDialog.textLabel": "Label:",
|
|
||||||
"DE.Views.AddNewCaptionLabelDialog.textLabelError": "Label must not be empty."
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue