PCHD#27790: Uitbreiding factuurscherm (flexkenmerken).
svn path=/Website/trunk/; revision=19711
This commit is contained in:
@@ -33,7 +33,9 @@ function hideInlineDetails(thisTR)
|
||||
$(thisTR).find(".inlinedetails").toggleClass("closed");
|
||||
$(thisTR).find(".inlinedetails").html(L("lcl_shared_inlinecolumnclosed"));
|
||||
var thisTABLE = thisTR.parentNode;
|
||||
thisTABLE.deleteRow(thisTR.rowIndex);
|
||||
if (thisTABLE.nodeName == "TBODY")
|
||||
thisTABLE = thisTABLE.parentNode; // Indien de tabel een <tbody> heeft dan de parent <table> pakken.
|
||||
thisTABLE.deleteRow(thisTR.rowIndex + 1); // De volgende rij verwijderen.
|
||||
thisTR.inlineVisible = false;
|
||||
return false;
|
||||
}
|
||||
@@ -47,13 +49,18 @@ function hideAllInlineDetails(ID)
|
||||
function showInlineDetails(thisTD, strfnURL)
|
||||
{
|
||||
var thisTR = thisTD.parentNode;
|
||||
var thisTRid = thisTR.id;
|
||||
var thisRowkey = thisTR.getAttribute("ROWKEY");
|
||||
if (thisTR.inlineVisible)
|
||||
return hideInlineDetails(thisTR);
|
||||
$(thisTR).find(".inlinedetails").toggleClass("closed");
|
||||
$(thisTR).find(".inlinedetails").html(L("lcl_shared_inlinecolumnopen"));
|
||||
thisTR.inlineVisible = true;
|
||||
var thisTABLE = thisTR.parentNode;
|
||||
var newRow = thisTABLE.insertRow(thisTR.rowIndex);
|
||||
var thisTABLE = thisTR.parentNode; // Parent node kan ook <tbody> zijn
|
||||
if (thisTABLE.nodeName == "TBODY")
|
||||
thisTABLE = thisTABLE.parentNode; // Indien de tabel een <tbody> heeft dan de parent <table> pakken.
|
||||
var newRow = thisTABLE.insertRow(thisTR.rowIndex + 1); // De nieuwe rij erna toevoegen.
|
||||
newRow.id = thisTRid + "inline"
|
||||
newRow.insertCell(0);
|
||||
var theCell = newRow.insertCell(1);
|
||||
theCell.innerHTML = L("lcl_shared_loading");
|
||||
|
||||
Reference in New Issue
Block a user