[DE] Bug 36794 (Insert number of pages)

This commit is contained in:
Julia Svinareva 2019-09-25 10:56:07 +03:00
parent e5ec005568
commit f92ad5f015
2 changed files with 5 additions and 1 deletions

View file

@ -320,6 +320,7 @@ define([
toolbar.btnEditHeader.menu.on('item:click', _.bind(this.onEditHeaderFooterClick, this));
toolbar.mnuPageNumCurrentPos.on('click', _.bind(this.onPageNumCurrentPosClick, this));
toolbar.mnuInsertPageCount.on('click', _.bind(this.onInsertPageCountClick, this));
toolbar.mnuInsertNumberOfPage.on('click', _.bind(this.onInsertPageCountClick, this));
toolbar.btnBlankPage.on('click', _.bind(this.onBtnBlankPageClick, this));
toolbar.listStyles.on('click', _.bind(this.onListStyleSelect, this));
toolbar.listStyles.on('contextmenu', _.bind(this.onListStyleContextMenu, this));

View file

@ -1665,7 +1665,10 @@ define([
new Common.UI.Menu({
items: [
{caption: this.capInsertPageNumber, value: 'insertpagenumber'},
{caption: this.capInsertNumberOfPages, value: 'insertnumberofpage'}
this.mnuInsertNumberOfPage = new Common.UI.MenuItem({
caption: this.textInsertPageCount,
value: 'insertnumberofpage'
})
]
})
);