Skip to content

Commit

Permalink
update entitiy data fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
emreeren committed Jan 7, 2014
1 parent c314fa5 commit f189e88
Showing 1 changed file with 5 additions and 0 deletions.
@@ -1,4 +1,5 @@
using System.ComponentModel.Composition;
using Samba.Domain.Models.Entities;
using Samba.Domain.Models.Tickets;
using Samba.Localization.Properties;
using Samba.Presentation.Services;
Expand Down Expand Up @@ -53,6 +54,10 @@ public override void Process(ActionData actionData)
}
}
}

var entity = actionData.GetDataValue<Entity>("Entity");
if (entity != null && entity.Id == entityId)
entity.SetCustomData(fieldName, value);
}

protected override object GetDefaultData()
Expand Down

0 comments on commit f189e88

Please sign in to comment.