[DE mobile] Remove animation when review open
This commit is contained in:
parent
88ee14544c
commit
840bd61c4b
|
@ -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) {
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue