* [bug#59158,0.5h] fix check rows.
This commit is contained in:
@@ -92,10 +92,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#bugs'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -51,10 +51,11 @@ window.onRenderCell = function(result, {row, col})
|
||||
return result;
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#caselib'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -201,10 +201,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#table-execution-story'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -224,10 +224,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#tasks'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -224,10 +224,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#stories'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -378,10 +378,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
|
||||
if(!idList?.length || this._rendered) return;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
this._rendered = true;
|
||||
const dtable = zui.DTable.query($('#productPlans'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
|
||||
@@ -27,10 +27,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#bugs'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -26,10 +26,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#stories'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -42,10 +42,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#stories'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
@@ -324,10 +324,11 @@ window.insertListToDoc = function()
|
||||
});
|
||||
}
|
||||
|
||||
window.firstRendered = false;
|
||||
window.toggleCheckRows = function(idList)
|
||||
{
|
||||
if(!idList?.length || this._rendered) return;
|
||||
this._rendered = true;
|
||||
if(!idList?.length || firstRendered) return;
|
||||
firstRendered = true;
|
||||
const dtable = zui.DTable.query($('#testcases'));
|
||||
dtable.$.toggleCheckRows(idList.split(','), true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user