summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-05-14 20:22:00 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-14 20:22:00 +0200
commit3c67157971dd1fc823cb1aa73cc26851a1f19f6c (patch)
tree4f4bbfb3f0d90782c437f825a7c89a0264d89a5a /program/js/list.js
parent435d55ecee7c5bc9651462d681e42af7f108ba66 (diff)
Remove 'focused' class on blur
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/list.js b/program/js/list.js
index c21ba713f..9f5ae3c65 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -252,7 +252,7 @@ blur: function()
for (n in this.selection) {
id = this.selection[n];
if (this.rows[id] && this.rows[id].obj) {
- $(this.rows[id].obj).removeClass('selected').addClass('unfocused');
+ $(this.rows[id].obj).removeClass('selected focused').addClass('unfocused');
}
}
},
@@ -611,7 +611,7 @@ get_first_row: function()
for (i=0, len=rows.length-1; i<len; i++)
if (rows[i].id && String(rows[i].id).match(/^rcmrow([a-z0-9\-_=\+\/]+)/i) && this.rows[RegExp.$1] != null)
- return RegExp.$1;
+ return RegExp.$1;
}
return null;