projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6680f58
)
Nick autocomplete fix
author
Darren
<darren@darrenwhitlen.com>
Mon, 26 Sep 2011 20:45:33 +0000
(21:45 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Mon, 26 Sep 2011 20:45:33 +0000
(21:45 +0100)
js/front.ui.js
patch
|
blob
|
blame
|
history
diff --git
a/js/front.ui.js
b/js/front.ui.js
index a3b932b9ff1c795060d9ea380bcc687c635d6648..341a1b16545075c96bdee450b4e7c0b8ec7e6efd 100644
(file)
--- a/
js/front.ui.js
+++ b/
js/front.ui.js
@@
-112,9
+112,9
@@
kiwi.front.ui = {
if (_.isEqual(tabcomplete.data, [])) {
\r
// Get possible autocompletions
\r
data = [];
\r
-
Tabview.getCurrentTab().userlist.listUsers(false).each(
function () {
\r
+
$.each(Tabview.getCurrentTab().userlist.listUsers(false),
function () {
\r
var nick;
\r
- nick = User.stripPrefix(
$('a.nick', this).text()
);
\r
+ nick = User.stripPrefix(
this.nick
);
\r
data.push(nick);
\r
});
\r
data = _.sortBy(data, function (nick) {
\r