Fix for system menu not getting properly reloaded after entries changed.

Plus added a missing semicolon.
This commit is contained in:
Salandora 2015-12-16 12:28:41 +01:00
parent f9f22daa4d
commit 8c85ed8ce5

View file

@ -88,7 +88,13 @@ $(function() {
self.onUserLoggedOut = function() {
self.lastCommandResponse = undefined;
self.systemActions([]);
}
};
self.onEventSettingsUpdated = function() {
if (self.loginState.isAdmin()) {
self.requestData();
}
};
}
// view model class, parameters for constructor, container to bind to