diff --git a/module/common/model.php b/module/common/model.php index a357d28ff4..6415606104 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2522,6 +2522,7 @@ EOD; ($module == 'file' and strpos('|read|download|uploadimages|ajaxwopifiles|', "|{$method}|") !== false) or ($module == 'report' && $method == 'annualdata') or ($module == 'misc' && $method == 'captcha') or + ($module == 'bug' && $method == 'create') or ($module == 'execution' and $method == 'printkanban') or ($module == 'traincourse' and $method == 'ajaxuploadlargefile') or ($module == 'traincourse' and $method == 'playvideo')) diff --git a/module/testcase/view/createbug.html.php b/module/testcase/view/createbug.html.php index 6793717010..b56b8ea6c6 100644 --- a/module/testcase/view/createbug.html.php +++ b/module/testcase/view/createbug.html.php @@ -38,7 +38,7 @@ function createBug(obj) } else { - window.open(link, '_parent'); + window.open(link, '_blank'); } config.onlybody = onlybody; }