1
0
Fork 0

FIXED - Routing to undefined server - ie after remove

master
Matthieu Lalonde 12 years ago committed by xSmurf
parent f1c9d86f88
commit 49a8229162

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

Loading…
Cancel
Save