projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1473677
)
Issue #51: Click nick label to change nick
author
Jack Allnutt
<m2ys4u@Gmail.com>
Fri, 21 Sep 2012 21:22:42 +0000
(22:22 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 22 Sep 2012 15:50:46 +0000
(16:50 +0100)
client_backbone/dev/view.js
patch
|
blob
|
blame
|
history
diff --git
a/client_backbone/dev/view.js
b/client_backbone/dev/view.js
index 08a5baca5632ccff187d05f9f107d7665c4bfc2e..1940fe6ca548000fa8725b4896a9bc2eef910eea 100755
(executable)
--- a/
client_backbone/dev/view.js
+++ b/
client_backbone/dev/view.js
@@
-543,7
+543,8
@@
kiwi.view.ControlBox = Backbone.View.extend({
preprocessor: null,
\r
\r
events: {
\r
- 'keydown input': 'process'
\r
+ 'keydown input': 'process',
\r
+ 'click .nick': 'showNickChange'
\r
},
\r
\r
initialize: function () {
\r
@@
-557,6
+558,10
@@
kiwi.view.ControlBox = Backbone.View.extend({
});
\r
},
\r
\r
+ showNickChange: function (ev) {
\r
+ (new kiwi.view.NickChangeBox()).render();
\r
+ },
\r
+
\r
process: function (ev) {
\r
var that = this,
\r
inp = $(ev.currentTarget),
\r