diff --git a/apps/documenteditor/mobile/app/controller/DocumentHolder.js b/apps/documenteditor/mobile/app/controller/DocumentHolder.js index 9eb1b5516..2e126ea84 100644 --- a/apps/documenteditor/mobile/app/controller/DocumentHolder.js +++ b/apps/documenteditor/mobile/app/controller/DocumentHolder.js @@ -151,7 +151,7 @@ define([ } else if ('review' == eventName) { var getCollaboration = DE.getController('Collaboration'); getCollaboration.showModal(); - getCollaboration.getView('Collaboration').showPage('#reviewing-settings-view'); + getCollaboration.getView('Collaboration').showPage('#reviewing-settings-view', false); } else if ('showActionSheet' == eventName && _actionSheets.length > 0) { _.delay(function () { _.each(_actionSheets, function (action) { diff --git a/apps/documenteditor/mobile/app/view/Collaboration.js b/apps/documenteditor/mobile/app/view/Collaboration.js index c7ad39177..ed19a7e40 100644 --- a/apps/documenteditor/mobile/app/view/Collaboration.js +++ b/apps/documenteditor/mobile/app/view/Collaboration.js @@ -118,7 +118,7 @@ define([ return ''; }, - showPage: function(templateId, suspendEvent) { + showPage: function(templateId, animate) { var rootView = DE.getController('Collaboration').rootView(); if (rootView && this.layout) { @@ -130,18 +130,16 @@ define([ } rootView.router.load({ - content: $content.html() + content: $content.html(), + animatePages: animate !== false }); - if (suspendEvent !== true) { - this.fireEvent('page:show', [this, templateId]); - } + this.fireEvent('page:show', [this, templateId]); } }, - textCollaboration: 'Collaboration', textReviewing: 'Review', textСomments: 'Сomments',