From de6010d65ee3c7227f0250c759f5fd4df30e2e0b Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 30 Apr 2014 16:54:44 +0100 Subject: [PATCH] Startup applet correctly showing the info box --- client/src/applets/startup.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/applets/startup.js b/client/src/applets/startup.js index 54d7eef..23c9d7f 100644 --- a/client/src/applets/startup.js +++ b/client/src/applets/startup.js @@ -19,12 +19,17 @@ if ($info.html()) { connection_dialog.view.infoBoxSet($info); - connection_dialog.view.infoBoxShow(); + } else { + $info = null; } this.listenTo(connection_dialog, 'connected', this.newConnectionConnected); _.defer(function(){ + if ($info) { + connection_dialog.view.infoBoxShow(); + } + connection_dialog.view.$el.find('.nick').select(); }); }, -- 2.25.1