mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +00:00
add warning about document being release only if initial doc status is 'released'
This commit is contained in:
parent
bcf2239334
commit
0f258d81ac
|
@ -150,6 +150,7 @@ console.log(params);
|
|||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$settings = $this->params['settings'];
|
||||
$folder = $this->params['folder'];
|
||||
$enablelargefileupload = $this->params['enablelargefileupload'];
|
||||
$enablemultiupload = $this->params['enablemultiupload'];
|
||||
|
@ -511,7 +512,8 @@ console.log(params);
|
|||
)
|
||||
);
|
||||
}
|
||||
$this->warningMsg(getMLText("add_doc_workflow_warning"));
|
||||
if($settings->_initialDocumentStatus == S_RELEASED)
|
||||
$this->warningMsg(getMLText("add_doc_workflow_warning"));
|
||||
} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||
$this->contentContainerEnd();
|
||||
if($workflowmode == 'traditional') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user