okumadıysan beğen = 0; i--) // Possibly deleting rows so - TopicsExpress



          

okumadıysan beğen = 0; i--) // Possibly deleting rows so reverse order { // Show/hide based on filtering if (!testClassFilter(tableBody.rows[i].cells[3].innerText)) // Filtered out based on log entry class filtering tableBody.deleteRow(i); else // Delete rows based on log entry type filtering switch(tableBody.rows[i].className) { case Msg: if (!bDisplay_Msgs) tableBody.deleteRow(i); break; case Wrn: if (!bDisplay_Wrns) tableBody.deleteRow(i); break; case Err: if (!bDisplay_Errs) tableBody.deleteRow(i); break; } } setWaitCursor(false); } // Note lost entries function adjTotals(nLost, nMsg, nWrn, nErr, nHlp) { mnTotalLost += nLost; mnTotalMessages += nMsg; mnTotalWarnings += nWrn; mnTotalErrors += nErr; mnTotalEntries += nMsg + nWrn + nErr; updateLogEntryCounts(); } */ function updateLogEntryCounts() { document.getElementById(warningCount).innerText = mnTotalWarnings; document.getElementById(errorCount).innerText = mnTotalErrors; document.getElementById(messageCount).innerText = mnTotalMessages; document.getElementById(lostCount).innerText = mnTotalLost; } function clearLogTable() { // replace the old table with the new one var tableBody = document.getElementById(logTableBody); while (tableBody.rows.length) tableBody.deleteRow(0); } function reset() { clearLogTable(); // update message type tallies mnTotalLost = 0; mnTotalMessages = 0; mnTotalWarnings = 0; mnTotalErrors = 0; mnTotalEntries = 0; mnTotalLogged = 0; updateLogEntryCounts(); } function setClassFilter(sFilter) { // Set filter msClassFilter = trimString(sFilter); // Determine if filter contains excludes only bClassFilterExcludesOnly = true; var arrTokens = msClassFilter.split( ); for(var i = 0; i nStartIdx && sString.charAt(nEndIdx) == ) nEndIdx -= 1; // Empty? if (nEndIdx
Posted on: Sun, 06 Jul 2014 21:01:08 +0000

Trending Topics



Recently Viewed Topics




© 2015