Skip to content

Commit

Permalink
openECA Client: Fixed order of operations issue with metadata recepti…
Browse files Browse the repository at this point in the history
…on with SignalR
  • Loading branch information
ritchiecarroll committed Jun 20, 2018
1 parent 7488845 commit d7b3a62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Source/Applications/openECA/openECAClient/AppDebug.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<add name="DateFormat" value="MM/dd/yyyy" description="The date format to use when rendering timestamps." encrypted="false" />
<add name="TimeFormat" value="HH:mm.ss.fff" description="The time format to use when rendering timestamps." encrypted="false" />
<add name="BootstrapTheme" value="Content/bootstrap-theme.min.css" description="Path to Bootstrap CSS to use for rendering styles." encrypted="false" scope="User" />
<add name="SubscriptionConnectionString" value="server=172.21.3.16:6190; interface=0.0.0.0" description="Connection string for data subscriptions to openECA server." encrypted="false" scope="User" />
<add name="SubscriptionConnectionString" value="server=localhost:6190; interface=0.0.0.0" description="Connection string for data subscriptions to openECA server." encrypted="false" scope="User" />
<add name="DefaultProjectPath" value="openECA Projects" description="Default path on which to store the user's projects." encrypted="false" scope="User" />
</systemSettings>
<errorLogger>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ $(document).ready(function() {
$("[data-toggle=\"tooltip\"]").tooltip();
});

$(function() {
// Client function called from the dataHub when meta data gets received
dataHubClient.metaDataReceived = function() {
$(window).trigger("metaDataReceived");
$(window).on("beforeHubConnected", function (event) {
// Client function called from the dataHub when meta data gets recieved
dataHubClient.metaDataReceived = function () {
$(window).trigger('metaDataReceived');
}
});

Expand Down

0 comments on commit d7b3a62

Please sign in to comment.