From 1f4962e9cc80e082584c67b9557bb3b07579c13d Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 21 Feb 2018 20:51:22 +0100 Subject: [PATCH] Debugging new Fancybox with General Ledger --- Site/Pages/v5/Ledgers/InspectLedgers.aspx | 1 + Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx b/Site/Pages/v5/Ledgers/InspectLedgers.aspx index ddbef7c9..9fcf1ca7 100644 --- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx +++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx @@ -104,6 +104,7 @@ SwarmopsJS.fancyBoxInit("a.FancyBox_Gallery"); $("img.LocalIconGeneralViewDoc").click(function() { + alertify.log("Debug " + $(this).attr("txId")); $("a.FancyBox_Gallery[data-fancybox='" + $(this).attr("txId") + "']").first().click(); }); } diff --git a/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs b/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs index 624981c2..f651feff 100644 --- a/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs +++ b/Site/Pages/v5/Ledgers/Json-GeneralLedgerData.aspx.cs @@ -126,7 +126,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers { foreach (Document doc in documents) { - actionHtml += String.Format(" ", + actionHtml += String.Format("", doc.Identity, doc.ClientFileName.Replace("\"", "'"), transaction.Identity); }