diff --git a/module/story/control.php b/module/story/control.php index a03fd85b48..a9beabac45 100755 --- a/module/story/control.php +++ b/module/story/control.php @@ -2025,6 +2025,8 @@ class story extends control */ public function batchToTask($executionID = 0, $projectID = 0) { + if($this->app->tab == 'execution' and $executionID) $this->loadModel('execution')->setMenu($executionID); + if(!empty($_POST['name'])) { $response['result'] = 'success';