projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1279d9
)
Startup applet correctly showing the info box
author
Darren
<darren@darrenwhitlen.com>
Wed, 30 Apr 2014 15:54:44 +0000
(16:54 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 30 Apr 2014 15:54:44 +0000
(16:54 +0100)
client/src/applets/startup.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/applets/startup.js
b/client/src/applets/startup.js
index 54d7eef3029dd772faabdafe1d7ebda0671f1f3b..23c9d7fdcd0bf6044dcb66d0bae62c7d4e1aeefa 100644
(file)
--- 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();
});
},