Debugging new Fancybox with General Ledger
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
{
|
||||
foreach (Document doc in documents)
|
||||
{
|
||||
actionHtml += String.Format("<a href='/Pages/v5/Support/StreamUpload.aspx?DocId={0}&hq=1 data-caption=\"{1}\" class='FancyBox_Gallery' data-fancybox='{2}'> </a>",
|
||||
actionHtml += String.Format("<a href='/Pages/v5/Support/StreamUpload.aspx?DocId={0}&hq=1 data-caption=\"{1}\" class='FancyBox_Gallery' data-fancybox='{2}'></a>",
|
||||
doc.Identity, doc.ClientFileName.Replace("\"", "'"), transaction.Identity);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user