* Fixed js conflict problem of testsuite module.

This commit is contained in:
wangxuepeng
2023-10-16 11:17:48 +08:00
parent 15cce485fa
commit 164ea33f0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn > a, .batch-btn').on('click', '.batch-btn > a, .batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -27,7 +27,7 @@ featureBar
$footToolbar = array('items' => array
(
array('text' => $lang->save, 'className' => 'batch-btn ajax-btn', 'data-url' => helper::createLink('testsuite', 'linkCase', "suiteID=$suiteID&param=$param"))
array('text' => $lang->save, 'className' => 'batch-btn not-open-url ajax-btn', 'data-url' => helper::createLink('testsuite', 'linkCase', "suiteID=$suiteID&param=$param"))
), 'btnProps' => array('size' => 'sm', 'btnType' => 'secondary'));
div