projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1a88f
)
Startup applet correctly showing the info box
author
Darren
<darren@darrenwhitlen.com>
Wed, 30 Apr 2014 16:01:57 +0000
(17:01 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 30 Apr 2014 16:01:57 +0000
(17:01 +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..bce803c2016d20f21a6923d6f341e1e2ade7ea3b 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();
});
},
@@
-46,4
+51,4
@@
_kiwi.model.Applet.register('kiwi_startup', applet);
-})();
\ No newline at end of file
+})();