* Fix bug #39454.
This commit is contained in:
@@ -1747,7 +1747,7 @@ class testcase extends control
|
||||
}
|
||||
|
||||
/* Get cases. */
|
||||
$queryCondition = preg_replace("/AND\s+t[0-9]\.scene\s+=\s+'0'/i", '', $this->session->testcaseQueryCondition);
|
||||
$queryCondition = preg_replace("/AND\s+t[0-9]\.scene\s+=\s+'0'/i", '', $this->session->testcaseQueryCondition);
|
||||
if($this->session->testcaseOnlyCondition)
|
||||
{
|
||||
$caseIDList = array();
|
||||
|
||||
@@ -3,3 +3,19 @@ $(document).ready(function()
|
||||
if(browseType == 'bysearch') $.toggleQueryBox(true);
|
||||
if($('#caseList thead th.w-title').width() < 150) $('#caseList thead th.w-title').width(150);
|
||||
});
|
||||
|
||||
/**
|
||||
* Get checked items.
|
||||
*
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
function getCheckedItems()
|
||||
{
|
||||
var checkedItems = [];
|
||||
$('#casesForm [name^=caseIDList]:checked').each(function(index, ele)
|
||||
{
|
||||
checkedItems.push($(ele).val());
|
||||
});
|
||||
return checkedItems;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user