diff --git a/apps/documenteditor/main/app/view/BookmarksDialog.js b/apps/documenteditor/main/app/view/BookmarksDialog.js index 1b8def99e..923177ad6 100644 --- a/apps/documenteditor/main/app/view/BookmarksDialog.js +++ b/apps/documenteditor/main/app/view/BookmarksDialog.js @@ -157,17 +157,20 @@ define([ this.bookmarksList.on('item:select', _.bind(this.onSelectBookmark, this)); this.btnAdd = new Common.UI.Button({ - el: $('#bookmarks-btn-add') + el: $('#bookmarks-btn-add'), + disabled: true }); this.$window.find('#bookmarks-btn-add').on('click', _.bind(this.onDlgBtnClick, this)); this.btnGoto = new Common.UI.Button({ - el: $('#bookmarks-btn-goto') + el: $('#bookmarks-btn-goto'), + disabled: true }); this.btnGoto.on('click', _.bind(this.gotoBookmark, this)); this.btnDelete = new Common.UI.Button({ - el: $('#bookmarks-btn-delete') + el: $('#bookmarks-btn-delete'), + disabled: true }); this.btnDelete.on('click', _.bind(this.deleteBookmark, this)); @@ -215,17 +218,19 @@ define([ if (this.props) { var store = this.bookmarksList.store, count = this.props.asc_GetCount(), + showHidden = this.chHidden.getValue()=='checked', arr = []; for (var i=0; i