[DE mobile] Add check canReview
This commit is contained in:
parent
0d74c6d334
commit
6f0c48fc5e
|
@ -165,6 +165,10 @@ define([
|
||||||
} else if('#change-view' == pageId) {
|
} else if('#change-view' == pageId) {
|
||||||
me.initChange();
|
me.initChange();
|
||||||
Common.Utils.addScrollIfNeed('.page[data-page=change-view]', '.page[data-page=change-view] .page-content');
|
Common.Utils.addScrollIfNeed('.page[data-page=change-view]', '.page[data-page=change-view] .page-content');
|
||||||
|
} else {
|
||||||
|
if(!this.appConfig.canReview) {
|
||||||
|
$('#reviewing-settings').hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -253,6 +253,9 @@ define([
|
||||||
if(_stateDisplayMode == "Final" || _stateDisplayMode == "Original") {
|
if(_stateDisplayMode == "Final" || _stateDisplayMode == "Original") {
|
||||||
$('#settings-document').addClass('disabled');
|
$('#settings-document').addClass('disabled');
|
||||||
}
|
}
|
||||||
|
if(!_canReview) {
|
||||||
|
$('#settings-collaboration').hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue