Added new Examine icon

This commit is contained in:
Rick Falkvinge
2019-01-31 18:36:11 +01:00
parent 314ecbb3cd
commit c1aa6805b6
2 changed files with 3 additions and 2 deletions
@@ -29,7 +29,7 @@ public partial class Pages_v5_Finance_Json_ValidatableReceipts : DataV5Base
StringBuilder result = new StringBuilder (16384);
string hasDoxString =
"<img baseid='E{5}' class='LocalViewDox action-icon' />";
"<img baseid='E{5}' class='LocalIconDox action-icon' />";
result.Append ("{\"rows\":[");
FinancialTransactionTagSets tagSets = FinancialTransactionTagSets.ForOrganization (CurrentOrganization);
@@ -44,6 +44,7 @@
onLoadSuccess: function () {
$(".LocalIconDox").attr('src', '/Images/Icons/iconshock-balloon-examine-128x96px.png');
$(".LocalIconApproval").attr('src', '/Images/Icons/iconshock-balloon-yes-128x96px.png');
$(".LocalIconApproved").attr('src', '/Images/Icons/iconshock-green-tick-128x96px.png').hide();
$(".LocalIconDenial").attr('src', '/Images/Icons/iconshock-balloon-no-128x96px.png');
@@ -119,7 +120,7 @@
alert('Denying validation is not yet implemented, but you can just leave the unwanted cost here until it is.');
});
$(".LocalViewDox").click(function () {
$(".LocalIconDox").click(function () {
$("a.FancyBox_Gallery[rel='" + $(this).attr("baseid") + "']").first().click();
});