Skip to content

Commit

Permalink
groupBy should survive updates from signalR
Browse files Browse the repository at this point in the history
  • Loading branch information
lformella committed Sep 28, 2014
1 parent 7a77ec7 commit 93d39ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions XG.Plugin.Webserver/Resources/js/factory/signalr.js
Expand Up @@ -65,7 +65,9 @@ define(['./module'], function (ng) {
var element = HelperService.getByGuid(self.$scope[self.objectsName], message.Guid);
if (element != null)
{
var groupBy = self.$scope[self.objectsName][element.id].GroupBy;
self.$scope[self.objectsName][element.id] = message;
self.$scope[self.objectsName][element.id].GroupBy = groupBy;
self.$scope.$apply();
}
}
Expand Down

0 comments on commit 93d39ac

Please sign in to comment.