Debugging a HTML compression defect in Mono/Apache (3)

This commit is contained in:
Rick Falkvinge
2015-03-04 20:03:50 +01:00
parent 70aebb178c
commit 48ce32527e
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -200,7 +200,7 @@
// Mono mistransmission debug comment 2
// Mono mistransmission debug comment 3
if (canWriteRows && ledgersClosedUntil < /* three and a half */ currentYear) {
if (canWriteRows /*&& ledgersClosedUntil < currentYear*/) {
// Mono mistransmission debug comment 4
// Mono mistransmission debug comment 5
@@ -247,7 +247,7 @@
} else {
$('#divTransactionTracking').hide();
if (canWriteRows && currentYear > ledgersClosedUntil) {
if (canWriteRows /*&& currentYear > ledgersClosedUntil*/) {
$('#divEditTransaction').show();
} else {
$('#divEditTransaction').hide();
@@ -272,7 +272,6 @@
var canSeeDetail = <asp:Literal ID="LiteralDetailAccess" runat="server" />;
var canWriteRows = <asp:Literal ID="LiteralWriteAccess" runat="server" />;
var canAuditTx = <asp:Literal ID="LiteralAuditAccess" runat="server" />;
var ledgersClosedUntil = <asp:Literal ID="LiteralLedgersClosedUntil" runat="server" />;
var currentYear = 0;
@@ -122,7 +122,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
? "true"
: "false";
this.LiteralLedgersClosedUntil.Text = CurrentOrganization.Parameters.FiscalBooksClosedUntilYear.ToString();
// this.LiteralLedgersClosedUntil.Text = CurrentOrganization.Parameters.FiscalBooksClosedUntilYear.ToString();
}
[WebMethod]