* Fix bug #47900.
This commit is contained in:
@@ -277,6 +277,7 @@ $config->testcase->importfromlib->dtable->fieldList['title']['type'] = 't
|
||||
$config->testcase->importfromlib->dtable->fieldList['title']['fixed'] = false;
|
||||
$config->testcase->importfromlib->dtable->fieldList['title']['link'] = array('module' => 'testcase', 'method' => 'view', 'params' => "caseID={id}");
|
||||
$config->testcase->importfromlib->dtable->fieldList['title']['data-toggle'] = 'modal';
|
||||
$config->testcase->importfromlib->dtable->fieldList['title']['data-size'] = 'lg';
|
||||
|
||||
$config->testcase->importfromlib->dtable->fieldList['fromModule']['name'] = 'fromModule';
|
||||
$config->testcase->importfromlib->dtable->fieldList['fromModule']['title'] = $lang->testcase->fromModule;
|
||||
|
||||
@@ -36,6 +36,12 @@ foreach($actions as $index => $action)
|
||||
{
|
||||
if(!isset($action['url'])) continue;
|
||||
$actions[$index]['url'] = str_replace('%executionID%', (string)$this->session->execution, $action['url']);
|
||||
|
||||
if($isInModal && !isset($action['data-toggle']) && !isset($action['data-load']))
|
||||
{
|
||||
$actions[$index]['data-load'] = 'modal';
|
||||
$actions[$index]['data-size'] = 'lg';
|
||||
}
|
||||
}
|
||||
|
||||
$steps = array();
|
||||
|
||||
Reference in New Issue
Block a user