mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
fix regression in 5.1.33, workflow and reviewers/approvers could not be set anymore
This commit is contained in:
parent
f14617b3c6
commit
956c84de1f
|
@ -823,7 +823,7 @@ $(document).ready( function() {
|
||||||
if($islatest && $accessobject->mayOverwriteStatus()) {
|
if($islatest && $accessobject->mayOverwriteStatus()) {
|
||||||
$items[] = array('link'=>$this->html_url('OverrideContentStatus', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'align-justify', 'label'=>'change_status');
|
$items[] = array('link'=>$this->html_url('OverrideContentStatus', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'align-justify', 'label'=>'change_status');
|
||||||
}
|
}
|
||||||
if(0) {
|
if($islatest) {
|
||||||
if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||||
// Allow changing reviewers/approvals only if not reviewed
|
// Allow changing reviewers/approvals only if not reviewed
|
||||||
if($accessobject->maySetReviewersApprovers()) {
|
if($accessobject->maySetReviewersApprovers()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user