This commit is contained in:
Yagami
2022-10-28 15:57:03 +08:00
parent 0d9425eb1f
commit c57c28f9c6
2 changed files with 2 additions and 1 deletions

View File

@@ -1668,6 +1668,8 @@ class execution extends control
if(!empty($_POST))
{
if(isset($_POST['attribute']) and in_array($_POST['attribute'], array('request', 'design', 'review'))) unset($_POST['plans']);
$executionID = $this->execution->create($copyExecutionID);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));

View File

@@ -85,7 +85,6 @@ $(function()
if(attribute == 'request' || attribute == 'design' || attribute == 'review')
{
$('#plansBox').closest('tr').addClass('hide');
$('#plansBox select[name^="plans"]').val('').trigger('chosen:updated');
}
else
{