[DE] Open viewer context menu in the view mode for review.
This commit is contained in:
parent
feac63e93e
commit
207376bb0d
|
@ -520,7 +520,7 @@ define([
|
|||
app.getController('Toolbar').DisableToolbar(disable, false, true);
|
||||
app.getController('RightMenu').SetDisabled(disable, false);
|
||||
app.getController('Statusbar').getView('Statusbar').SetDisabled(disable);
|
||||
// app.getController('DocumentHolder').getView('DocumentHolder').SetDisabled(disable);
|
||||
app.getController('DocumentHolder').getView().SetDisabled(disable);
|
||||
app.getController('LeftMenu').leftMenu.btnComments.setDisabled(disable);
|
||||
|
||||
if (this.view) {
|
||||
|
|
|
@ -189,6 +189,9 @@ define([
|
|||
|
||||
var fillViewMenuProps = function(selectedElements) {
|
||||
if (!selectedElements || !_.isArray(selectedElements)) return;
|
||||
|
||||
if (!me.viewModeMenu)
|
||||
me.createDelayedElementsViewer();
|
||||
var menu_props = {},
|
||||
menu_to_show = me.viewModeMenu,
|
||||
noobject = true;
|
||||
|
|
Loading…
Reference in a new issue