summaryrefslogtreecommitdiff
path: root/program/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-15 08:28:07 +0200
commit5dfd42bee52566bc2e23419505bff46506725a06 (patch)
tree084d77f623f5d2972c713b13054b7caf5d0d635d /program/js
parentfc67e008126d8b034a49ed24f6c94de2bf858981 (diff)
Remove 'focused' class on blur
Diffstat (limited to 'program/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;