|
|
@ -206,12 +206,12 @@ console.log(Bootstrap);
|
|
|
|
, _routerActionClient: function (hostname) {
|
|
|
|
, _routerActionClient: function (hostname) {
|
|
|
|
var that = this
|
|
|
|
var that = this
|
|
|
|
, server = this.servers.get(hostname)
|
|
|
|
, server = this.servers.get(hostname)
|
|
|
|
, client = server.client
|
|
|
|
, client = server && server.client || undefined
|
|
|
|
;
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (server && client) {
|
|
|
|
that.Views.SideBar.select(server);
|
|
|
|
that.Views.SideBar.select(server);
|
|
|
|
|
|
|
|
|
|
|
|
if (client) {
|
|
|
|
|
|
|
|
var __fnAppEventClientLoaded = function () {
|
|
|
|
var __fnAppEventClientLoaded = function () {
|
|
|
|
if (!that.Views.Main.getView(server.get("hostname"))) {
|
|
|
|
if (!that.Views.Main.getView(server.get("hostname"))) {
|
|
|
|
that.Views.Main.setView(server.client.attributes.hostname, new ClientView({
|
|
|
|
that.Views.Main.setView(server.client.attributes.hostname, new ClientView({
|
|
|
|