From 1d96a2268893cd1cc96bdfdc01356a64e70ea5d1 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 29 Mar 2017 14:03:12 +0300 Subject: [PATCH] [DE] refactored StatusBar --- apps/documenteditor/main/app/template/StatusBar.template | 4 ++-- apps/documenteditor/main/app/view/Statusbar.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/template/StatusBar.template b/apps/documenteditor/main/app/template/StatusBar.template index 432727a26..78b8456fc 100644 --- a/apps/documenteditor/main/app/template/StatusBar.template +++ b/apps/documenteditor/main/app/template/StatusBar.template @@ -1,9 +1,9 @@
- +
diff --git a/apps/documenteditor/main/app/view/Statusbar.js b/apps/documenteditor/main/app/view/Statusbar.js index 6e07c9eb7..9a9a06531 100644 --- a/apps/documenteditor/main/app/view/Statusbar.js +++ b/apps/documenteditor/main/app/view/Statusbar.js @@ -102,7 +102,8 @@ define([ render: function () { var me = this; this.$el.html(this.template({ - scope: this + textGotoPage: this.goToPageText, + textPageNumber: Common.Utils.String.format(this.pageIndexText, 1, 1) })); this.btnZoomToPage = new Common.UI.Button({