* Fix off click bug.
This commit is contained in:
@@ -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,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,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,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,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();
|
||||
|
||||
@@ -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,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();
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user