* Fix bug #29032.
This commit is contained in:
@@ -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()));
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user