mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +00:00
reenable empty form for new workflow
This commit is contained in:
parent
aa8e64ddd8
commit
c97a300fd4
|
@ -143,7 +143,7 @@ $(document).ready(function() {
|
||||||
?>
|
?>
|
||||||
<table class="table-condensed">
|
<table class="table-condensed">
|
||||||
<?php
|
<?php
|
||||||
if(!$workflow->isUsed()) {
|
if($workflow && !$workflow->isUsed()) {
|
||||||
?>
|
?>
|
||||||
<tr><td></td><td><a class="standardText btn" href="../out/out.RemoveWorkflow.php?workflowid=<?php print $workflow->getID();?>"><i class="icon-remove"></i> <?php printMLText("rm_workflow");?></a></td></tr>
|
<tr><td></td><td><a class="standardText btn" href="../out/out.RemoveWorkflow.php?workflowid=<?php print $workflow->getID();?>"><i class="icon-remove"></i> <?php printMLText("rm_workflow");?></a></td></tr>
|
||||||
<?php
|
<?php
|
||||||
|
@ -288,7 +288,6 @@ $(document).ready(function() {
|
||||||
function form() { /* {{{ */
|
function form() { /* {{{ */
|
||||||
$selworkflow = $this->params['selworkflow'];
|
$selworkflow = $this->params['selworkflow'];
|
||||||
|
|
||||||
if($selworkflow)
|
|
||||||
$this->showWorkflowForm($selworkflow);
|
$this->showWorkflowForm($selworkflow);
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user