2017-12-19 13:30:58 +00:00
|
|
|
/*
|
|
|
|
*
|
2019-01-17 13:05:03 +00:00
|
|
|
* (c) Copyright Ascensio System SIA 2010-2019
|
2017-12-19 13:30:58 +00:00
|
|
|
*
|
|
|
|
* This program is a free software product. You can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
|
|
|
* version 3 as published by the Free Software Foundation. In accordance with
|
|
|
|
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
|
|
|
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
|
|
|
* of any third-party rights.
|
|
|
|
*
|
|
|
|
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
|
|
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
|
|
|
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
|
|
|
*
|
2019-01-17 13:00:34 +00:00
|
|
|
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
|
|
|
|
* street, Riga, Latvia, EU, LV-1050.
|
2017-12-19 13:30:58 +00:00
|
|
|
*
|
|
|
|
* The interactive user interfaces in modified source and object code versions
|
|
|
|
* of the Program must display Appropriate Legal Notices, as required under
|
|
|
|
* Section 5 of the GNU AGPL version 3.
|
|
|
|
*
|
|
|
|
* Pursuant to Section 7(b) of the License you must retain the original Product
|
|
|
|
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
|
|
|
* grant you any rights under trademark law for use of our trademarks.
|
|
|
|
*
|
|
|
|
* All the Product's GUI elements, including illustrations and icon sets, as
|
|
|
|
* well as technical writing content are licensed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
|
|
|
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* User: Julia.Radzhabova
|
|
|
|
* Date: 14.12.17
|
|
|
|
*/
|
|
|
|
|
|
|
|
define([
|
|
|
|
'core',
|
|
|
|
'documenteditor/main/app/collection/Navigation',
|
|
|
|
'documenteditor/main/app/view/Navigation'
|
|
|
|
], function () {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
DE.Controllers.Navigation = Backbone.Controller.extend(_.extend({
|
|
|
|
models: [],
|
|
|
|
collections: [
|
|
|
|
'Navigation'
|
|
|
|
],
|
|
|
|
views: [
|
|
|
|
'Navigation'
|
|
|
|
],
|
|
|
|
|
|
|
|
initialize: function() {
|
|
|
|
var me = this;
|
|
|
|
this.addListeners({
|
|
|
|
'Navigation': {
|
|
|
|
'show': function() {
|
2021-10-13 19:08:47 +00:00
|
|
|
if (!this.canUseViwerNavigation) {
|
2022-06-23 19:12:36 +00:00
|
|
|
me.api.asc_ShowDocumentOutline();
|
2022-03-01 13:38:14 +00:00
|
|
|
} else {
|
|
|
|
if (me.panelNavigation && me.panelNavigation.viewNavigationList && me.panelNavigation.viewNavigationList.scroller)
|
|
|
|
me.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
|
2021-10-13 19:08:47 +00:00
|
|
|
}
|
2022-04-15 13:37:38 +00:00
|
|
|
if (!me.mode.isEdit && !me.mode.isRestrictedEdit)
|
|
|
|
me.panelNavigation.viewNavigationList.focus();
|
2017-12-19 13:30:58 +00:00
|
|
|
},
|
|
|
|
'hide': function() {
|
2021-10-13 19:08:47 +00:00
|
|
|
if (!this.canUseViwerNavigation) {
|
|
|
|
me.api && me.api.asc_HideDocumentOutline();
|
|
|
|
}
|
2017-12-19 13:30:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
},
|
|
|
|
|
|
|
|
events: function() {
|
|
|
|
},
|
|
|
|
|
|
|
|
onLaunch: function() {
|
|
|
|
this.panelNavigation= this.createView('Navigation', {
|
|
|
|
storeNavigation: this.getApplication().getCollection('Navigation')
|
|
|
|
});
|
|
|
|
this.panelNavigation.on('render:after', _.bind(this.onAfterRender, this));
|
|
|
|
this._navigationObject = null;
|
2021-10-13 19:08:47 +00:00
|
|
|
this._viewerNavigationObject = null;
|
2018-03-07 10:47:41 +00:00
|
|
|
this._isDisabled = false;
|
2017-12-19 13:30:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
setApi: function(api) {
|
|
|
|
this.api = api;
|
|
|
|
this.api.asc_registerCallback('asc_onDocumentOutlineUpdate', _.bind(this.updateNavigation, this));
|
2017-12-21 08:44:06 +00:00
|
|
|
this.api.asc_registerCallback('asc_onDocumentOutlineCurrentPosition', _.bind(this.onChangeOutlinePosition, this));
|
2018-01-11 07:38:50 +00:00
|
|
|
this.api.asc_registerCallback('asc_onDocumentOutlineUpdateAdd', _.bind(this.updateNavigation, this));
|
|
|
|
this.api.asc_registerCallback('asc_onDocumentOutlineUpdateChange', _.bind(this.updateChangeNavigation, this));
|
|
|
|
this.api.asc_registerCallback('asc_onDocumentOutlineUpdateRemove', _.bind(this.updateNavigation, this));
|
2021-10-13 19:08:47 +00:00
|
|
|
|
|
|
|
this.api.asc_registerCallback('asc_onViewerBookmarksUpdate', _.bind(this.updateViewerNavigation, this));
|
2017-12-19 13:30:58 +00:00
|
|
|
return this;
|
|
|
|
},
|
|
|
|
|
|
|
|
setMode: function(mode) {
|
2018-03-07 10:47:41 +00:00
|
|
|
this.mode = mode;
|
2021-10-13 19:08:47 +00:00
|
|
|
this.canUseViwerNavigation = this.mode.canUseViwerNavigation;
|
2022-04-15 13:37:38 +00:00
|
|
|
if (this.panelNavigation && this.panelNavigation.viewNavigationList) {
|
2022-04-05 17:17:08 +00:00
|
|
|
this.panelNavigation.viewNavigationList.setEmptyText(this.mode.isEdit ? this.panelNavigation.txtEmpty : this.panelNavigation.txtEmptyViewer);
|
2022-04-15 13:37:38 +00:00
|
|
|
this.panelNavigation.viewNavigationList.enableKeyEvents = !this.mode.isEdit && !this.mode.isRestrictedEdit;
|
|
|
|
}
|
2018-03-07 10:47:41 +00:00
|
|
|
return this;
|
2017-12-19 13:30:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
onAfterRender: function(panelNavigation) {
|
|
|
|
panelNavigation.viewNavigationList.on('item:click', _.bind(this.onSelectItem, this));
|
|
|
|
panelNavigation.viewNavigationList.on('item:contextmenu', _.bind(this.onItemContextMenu, this));
|
2022-02-10 19:42:09 +00:00
|
|
|
panelNavigation.viewNavigationList.on('item:add', _.bind(this.onItemAdd, this));
|
2017-12-19 13:30:58 +00:00
|
|
|
panelNavigation.navigationMenu.on('item:click', _.bind(this.onMenuItemClick, this));
|
2017-12-20 12:34:17 +00:00
|
|
|
panelNavigation.navigationMenu.items[11].menu.on('item:click', _.bind(this.onMenuLevelsItemClick, this));
|
2022-04-14 01:00:17 +00:00
|
|
|
panelNavigation.btnSettingsMenu.on('item:click', _.bind(this.onMenuSettingsItemClick, this));
|
|
|
|
panelNavigation.btnSettingsMenu.items[2].menu.on('item:click', _.bind(this.onMenuLevelsItemClick, this));
|
|
|
|
panelNavigation.btnSettingsMenu.items[4].menu.on('item:click', _.bind(this.onMenuFontSizeClick, this));
|
2022-04-22 16:52:40 +00:00
|
|
|
panelNavigation.btnClose.on('click', _.bind(this.onClickClosePanel, this));
|
2022-04-05 10:08:19 +00:00
|
|
|
|
|
|
|
var viewport = this.getApplication().getController('Viewport').getView('Viewport');
|
|
|
|
viewport.hlayout.on('layout:resizedrag', function () {
|
|
|
|
if (panelNavigation.viewNavigationList && panelNavigation.viewNavigationList.scroller)
|
|
|
|
panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
|
|
|
|
});
|
2017-12-19 13:30:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
updateNavigation: function() {
|
2022-06-23 19:12:36 +00:00
|
|
|
if (!this._navigationObject)
|
|
|
|
this._navigationObject = this.api.asc_GetDocumentOutlineManager();
|
|
|
|
|
2017-12-19 13:30:58 +00:00
|
|
|
if (!this._navigationObject) return;
|
|
|
|
|
|
|
|
var count = this._navigationObject.get_ElementsCount(),
|
|
|
|
prev_level = -1,
|
2018-01-23 10:21:27 +00:00
|
|
|
header_level = -1,
|
|
|
|
first_header = !this._navigationObject.isFirstItemNotHeader(),
|
2017-12-19 13:30:58 +00:00
|
|
|
arr = [];
|
|
|
|
for (var i=0; i<count; i++) {
|
2018-01-23 10:21:27 +00:00
|
|
|
var level = this._navigationObject.get_Level(i),
|
|
|
|
hasParent = true;
|
2017-12-19 13:30:58 +00:00
|
|
|
if (level>prev_level && i>0)
|
|
|
|
arr[i-1].set('hasSubItems', true);
|
2018-01-23 10:21:27 +00:00
|
|
|
if (header_level<0 || level<=header_level) {
|
|
|
|
if (i>0 || first_header)
|
|
|
|
header_level = level;
|
|
|
|
hasParent = false;
|
|
|
|
}
|
2017-12-19 13:30:58 +00:00
|
|
|
arr.push(new Common.UI.TreeViewModel({
|
|
|
|
name : this._navigationObject.get_Text(i),
|
|
|
|
level: level,
|
2017-12-25 09:03:51 +00:00
|
|
|
index: i,
|
2018-01-23 10:21:27 +00:00
|
|
|
hasParent: hasParent,
|
2017-12-25 09:03:51 +00:00
|
|
|
isEmptyItem: this._navigationObject.isEmptyItem(i)
|
2017-12-19 13:30:58 +00:00
|
|
|
}));
|
|
|
|
prev_level = level;
|
2017-12-21 08:44:06 +00:00
|
|
|
}
|
2018-01-23 10:21:27 +00:00
|
|
|
if (count>0 && !first_header) {
|
2017-12-21 08:44:06 +00:00
|
|
|
arr[0].set('hasSubItems', false);
|
|
|
|
arr[0].set('isNotHeader', true);
|
2017-12-21 10:56:48 +00:00
|
|
|
arr[0].set('name', this.txtBeginning);
|
2017-12-21 08:44:06 +00:00
|
|
|
arr[0].set('tip', this.txtGotoBeginning);
|
2017-12-19 13:30:58 +00:00
|
|
|
}
|
2022-06-23 22:51:50 +00:00
|
|
|
|
|
|
|
var me = this;
|
2022-06-23 22:53:28 +00:00
|
|
|
var store = this.getApplication().getCollection('Navigation');
|
2022-06-23 22:51:50 +00:00
|
|
|
store.reset(arr.splice(0, 50));
|
|
|
|
|
|
|
|
this._currentPos = this._navigationObject.get_CurrentPosition();
|
|
|
|
|
|
|
|
function addToPanel() {
|
|
|
|
if (arr.length<1) {
|
|
|
|
me.panelNavigation.viewNavigationList.scroller && me.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
|
|
|
|
if (me._currentPos>-1 && me._currentPos<store.length)
|
|
|
|
me.onChangeOutlinePosition(me._currentPos);
|
|
|
|
me._currentPos = -1;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
setTimeout(function () {
|
|
|
|
store.add(arr.splice(0, 100));
|
|
|
|
if (me._currentPos>-1 && me._currentPos<store.length) {
|
|
|
|
me.onChangeOutlinePosition(me._currentPos);
|
|
|
|
me._currentPos = -1;
|
|
|
|
}
|
|
|
|
addToPanel();
|
|
|
|
}, 1);
|
|
|
|
}
|
|
|
|
addToPanel();
|
2017-12-19 13:30:58 +00:00
|
|
|
},
|
|
|
|
|
2018-01-11 07:38:50 +00:00
|
|
|
updateChangeNavigation: function(index) {
|
2022-06-23 19:12:36 +00:00
|
|
|
if (!this._navigationObject)
|
|
|
|
this._navigationObject = this.api.asc_GetDocumentOutlineManager();
|
|
|
|
|
2018-01-11 07:38:50 +00:00
|
|
|
if (!this._navigationObject) return;
|
|
|
|
|
|
|
|
var item = this.getApplication().getCollection('Navigation').at(index);
|
|
|
|
if (item.get('level') !== this._navigationObject.get_Level(index) ||
|
|
|
|
index==0 && item.get('isNotHeader') !== this._navigationObject.isFirstItemNotHeader()) {
|
|
|
|
this.updateNavigation();
|
|
|
|
} else {
|
|
|
|
item.set('name', this._navigationObject.get_Text(index));
|
|
|
|
item.set('isEmptyItem', this._navigationObject.isEmptyItem(index));
|
2022-02-10 19:42:09 +00:00
|
|
|
this.panelNavigation.viewNavigationList.updateTip(item.get('dataItem'));
|
2018-01-11 07:38:50 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2017-12-21 08:44:06 +00:00
|
|
|
onChangeOutlinePosition: function(index) {
|
2022-06-23 22:51:50 +00:00
|
|
|
if (index<this.panelNavigation.viewNavigationList.store.length)
|
|
|
|
this.panelNavigation.viewNavigationList.scrollToRecord(this.panelNavigation.viewNavigationList.selectByIndex(index));
|
|
|
|
else
|
|
|
|
this._currentPos = index;
|
2017-12-21 08:44:06 +00:00
|
|
|
},
|
|
|
|
|
2017-12-19 13:30:58 +00:00
|
|
|
onItemContextMenu: function(picker, item, record, e){
|
|
|
|
var showPoint;
|
|
|
|
var menu = this.panelNavigation.navigationMenu;
|
|
|
|
if (menu.isVisible()) {
|
|
|
|
menu.hide();
|
|
|
|
}
|
|
|
|
|
|
|
|
var parentOffset = this.panelNavigation.$el.offset(),
|
|
|
|
top = e.clientY*Common.Utils.zoom();
|
|
|
|
showPoint = [e.clientX*Common.Utils.zoom() + 5, top - parentOffset.top + 5];
|
|
|
|
|
2018-03-07 10:47:41 +00:00
|
|
|
for (var i=0; i<7; i++) {
|
|
|
|
menu.items[i].setVisible(this.mode.isEdit);
|
|
|
|
}
|
|
|
|
|
2021-10-13 19:08:47 +00:00
|
|
|
menu.items[7].setVisible(!this.canUseViwerNavigation);
|
|
|
|
menu.items[8].setVisible(!this.canUseViwerNavigation);
|
|
|
|
|
2017-12-21 08:44:06 +00:00
|
|
|
var isNotHeader = record.get('isNotHeader');
|
2018-03-07 10:47:41 +00:00
|
|
|
menu.items[0].setDisabled(isNotHeader || this._isDisabled);
|
|
|
|
menu.items[1].setDisabled(isNotHeader || this._isDisabled);
|
|
|
|
menu.items[3].setDisabled(isNotHeader || this._isDisabled);
|
|
|
|
menu.items[4].setDisabled(this._isDisabled);
|
|
|
|
menu.items[5].setDisabled(this._isDisabled);
|
2017-12-21 08:44:06 +00:00
|
|
|
menu.items[7].setDisabled(isNotHeader);
|
2017-12-19 13:30:58 +00:00
|
|
|
|
|
|
|
if (showPoint != undefined) {
|
|
|
|
var menuContainer = this.panelNavigation.$el.find('#menu-navigation-container');
|
|
|
|
if (!menu.rendered) {
|
|
|
|
if (menuContainer.length < 1) {
|
|
|
|
menuContainer = $('<div id="menu-navigation-container" style="position: absolute; z-index: 10000;"><div class="dropdown-toggle" data-toggle="dropdown"></div></div>', menu.id);
|
|
|
|
$(this.panelNavigation.$el).append(menuContainer);
|
|
|
|
}
|
|
|
|
menu.render(menuContainer);
|
|
|
|
menu.cmpEl.attr({tabindex: "-1"});
|
|
|
|
}
|
2017-12-21 08:44:06 +00:00
|
|
|
menu.cmpEl.attr('data-value', record.get('index'));
|
2017-12-19 13:30:58 +00:00
|
|
|
menuContainer.css({
|
|
|
|
left: showPoint[0],
|
|
|
|
top: showPoint[1]
|
|
|
|
});
|
|
|
|
menu.show();
|
2018-01-23 10:21:27 +00:00
|
|
|
_.delay(function() {
|
|
|
|
menu.cmpEl.focus();
|
|
|
|
}, 10);
|
2017-12-19 13:30:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onSelectItem: function(picker, item, record, e){
|
2021-10-13 19:08:47 +00:00
|
|
|
if (this._navigationObject) {
|
|
|
|
this._navigationObject.goto(record.get('index'));
|
|
|
|
} else if (this._viewerNavigationObject) {
|
|
|
|
this.api.asc_viewerNavigateTo(record.get('index'));
|
|
|
|
}
|
2022-04-15 13:37:38 +00:00
|
|
|
(this.mode.isEdit || this.mode.isRestrictedEdit) && Common.NotificationCenter.trigger('edit:complete', this.panelNavigation);
|
2017-12-19 13:30:58 +00:00
|
|
|
},
|
|
|
|
|
2022-02-10 19:42:09 +00:00
|
|
|
onItemAdd: function(picker, item, record, e){
|
|
|
|
record.set('dataItem', item);
|
|
|
|
},
|
|
|
|
|
2017-12-19 13:30:58 +00:00
|
|
|
onMenuItemClick: function (menu, item) {
|
2021-10-13 19:08:47 +00:00
|
|
|
if (!this._navigationObject && !this._viewerNavigationObject) return;
|
2017-12-21 08:44:06 +00:00
|
|
|
var index = parseInt(menu.cmpEl.attr('data-value'));
|
|
|
|
if (item.value == 'promote') {
|
|
|
|
this._navigationObject.promote(index);
|
2017-12-21 10:56:48 +00:00
|
|
|
} else if (item.value == 'demote') {
|
2017-12-21 08:44:06 +00:00
|
|
|
this._navigationObject.demote(index);
|
2017-12-19 13:30:58 +00:00
|
|
|
} else if (item.value == 'before') {
|
2017-12-21 08:44:06 +00:00
|
|
|
this._navigationObject.insertHeader(index, true);
|
2017-12-19 13:30:58 +00:00
|
|
|
} else if (item.value == 'after') {
|
2017-12-21 08:44:06 +00:00
|
|
|
this._navigationObject.insertHeader(index, false);
|
2017-12-19 13:30:58 +00:00
|
|
|
} else if (item.value == 'new') {
|
2017-12-21 08:44:06 +00:00
|
|
|
this._navigationObject.insertSubHeader(index);
|
2017-12-19 13:30:58 +00:00
|
|
|
} else if (item.value == 'select') {
|
2017-12-21 08:44:06 +00:00
|
|
|
this._navigationObject.selectContent(index);
|
2017-12-19 13:30:58 +00:00
|
|
|
} else if (item.value == 'expand') {
|
|
|
|
this.panelNavigation.viewNavigationList.expandAll();
|
|
|
|
} else if (item.value == 'collapse') {
|
|
|
|
this.panelNavigation.viewNavigationList.collapseAll();
|
|
|
|
}
|
2017-12-20 12:34:17 +00:00
|
|
|
},
|
2022-04-22 16:52:40 +00:00
|
|
|
onClickClosePanel: function() {
|
|
|
|
Common.NotificationCenter.trigger('leftmenu:change', 'hide');
|
|
|
|
},
|
2022-04-20 13:58:28 +00:00
|
|
|
|
2022-04-14 01:00:17 +00:00
|
|
|
onMenuSettingsItemClick: function (menu, item){
|
|
|
|
switch (item.value){
|
|
|
|
case 'expand':
|
|
|
|
this.panelNavigation.viewNavigationList.expandAll();
|
|
|
|
break;
|
|
|
|
case 'collapse':
|
|
|
|
this.panelNavigation.viewNavigationList.collapseAll();
|
|
|
|
break;
|
|
|
|
case 'wrap':
|
|
|
|
this.panelNavigation.changeWrapHeadings();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
},
|
2017-12-20 12:34:17 +00:00
|
|
|
|
|
|
|
onMenuLevelsItemClick: function (menu, item) {
|
|
|
|
this.panelNavigation.viewNavigationList.expandToLevel(item.value-1);
|
2017-12-21 08:44:06 +00:00
|
|
|
},
|
|
|
|
|
2022-04-14 01:00:17 +00:00
|
|
|
onMenuFontSizeClick: function (menu, item){
|
|
|
|
this.panelNavigation.changeFontSize(item.value);
|
|
|
|
},
|
|
|
|
|
2018-03-07 10:47:41 +00:00
|
|
|
SetDisabled: function(state) {
|
|
|
|
this._isDisabled = state;
|
|
|
|
},
|
|
|
|
|
2021-10-13 19:08:47 +00:00
|
|
|
updateViewerNavigation: function (bookmarks) {
|
|
|
|
this._viewerNavigationObject = bookmarks.length > 0 ? bookmarks : null;
|
|
|
|
if (this._viewerNavigationObject) {
|
|
|
|
var count = this._viewerNavigationObject.length,
|
|
|
|
prev_level = -1,
|
|
|
|
header_level = -1,
|
|
|
|
first_header = true,//!this._navigationObject.isFirstItemNotHeader(),
|
|
|
|
arr = [];
|
|
|
|
for (var i = 0; i < count; i++) {
|
|
|
|
var level = this._viewerNavigationObject[i].level - 1,
|
|
|
|
hasParent = true;
|
|
|
|
if (level > prev_level && i > 0)
|
|
|
|
arr[i - 1].set('hasSubItems', true);
|
|
|
|
if (header_level < 0 || level <= header_level) {
|
|
|
|
if (i > 0 || first_header)
|
|
|
|
header_level = level;
|
|
|
|
hasParent = false;
|
|
|
|
}
|
|
|
|
arr.push(new Common.UI.TreeViewModel({
|
|
|
|
name: this._viewerNavigationObject[i].description,
|
|
|
|
level: level,
|
|
|
|
index: i,
|
|
|
|
hasParent: hasParent,
|
|
|
|
isEmptyItem: !this._viewerNavigationObject[i].description
|
|
|
|
}));
|
|
|
|
prev_level = level;
|
|
|
|
}
|
|
|
|
if (count > 0 && !first_header) {
|
|
|
|
arr[0].set('hasSubItems', false);
|
|
|
|
arr[0].set('isNotHeader', true);
|
|
|
|
arr[0].set('name', this.txtBeginning);
|
|
|
|
arr[0].set('tip', this.txtGotoBeginning);
|
|
|
|
}
|
|
|
|
this.getApplication().getCollection('Navigation').reset(arr);
|
2022-03-01 13:38:14 +00:00
|
|
|
if (this.panelNavigation && this.panelNavigation.viewNavigationList && this.panelNavigation.viewNavigationList.scroller)
|
|
|
|
this.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
|
2021-10-13 19:08:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2017-12-21 10:56:48 +00:00
|
|
|
txtBeginning: 'Beginning of document',
|
2017-12-21 08:44:06 +00:00
|
|
|
txtGotoBeginning: 'Go to the beginning of the document'
|
2017-12-19 13:30:58 +00:00
|
|
|
|
|
|
|
}, DE.Controllers.Navigation || {}));
|
|
|
|
});
|