* Fix off click bug.

This commit is contained in:
wangyuting
2023-06-13 10:25:52 +08:00
parent 2785198347
commit af3f198326
8 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -4,7 +4,7 @@ $(document).on('change', '#date', function()
loadPage($.createLink('my', 'todo', 'date=' + date), '#mainContent');
});
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
+1 -1
View File
@@ -1,4 +1,4 @@
$(document).off('click').on('click', '.batch-btn', function()
$(document).off('click', '.batch-btn').on('click', '.batch-btn', function()
{
const dtable = zui.DTable.query($(this).target);
const checkedList = dtable.$.getChecks();
-1
View File
@@ -67,7 +67,6 @@ toolbar
$footerHTML = strtolower($status) == 'totalstatus' ? sprintf($lang->testtask->allSummary, count($tasks), $waitCount, $testingCount, $blockedCount, $doneCount) : sprintf($lang->testtask->pageSummary, count($tasks));
dtable
(
set::customCols(true),
set::cols($cols),
set::data($data),
set::userMap($users),