Small fixes

This commit is contained in:
Rick Falkvinge
2018-01-02 12:48:30 +01:00
parent 23b8fa07c3
commit 7e5af099e2
3 changed files with 11 additions and 2 deletions
+6 -1
View File
@@ -62,6 +62,11 @@ namespace Swarmops.Common.Enums
/// <summary>
/// Other artwork (public)
/// </summary>
Artwork
Artwork,
/// <summary>
/// There really isn't a standalone doctype for this but still
/// </summary>
Payout
}
}
+4
View File
@@ -144,6 +144,10 @@ namespace Swarmops.Logic.Support
{
return DocumentType.ExternalActivityPhoto;
}
else if (foreignObject is Payout)
{
return DocumentType.Payout;
}
else
{
throw new ArgumentException ("Unrecognized foreign object type:" + foreignObject.GetType().ToString());
+1 -1
View File
@@ -90,7 +90,7 @@
onLoadSuccess: function() {
$('div.treegrid').css('opacity', 1);
$("td > div > span.tx-description").each(function() {
$("td > div > span.tx-description:not(:first)").each(function() {
var parent = $(this).parent();
var grandParent = parent.parent();