From 3c67157971dd1fc823cb1aa73cc26851a1f19f6c Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 14 May 2012 14:22:00 -0400
Subject: [PATCH] Remove 'focused' class on blur
---
program/js/list.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/program/js/list.js b/program/js/list.js
index c21ba71..9f5ae3c 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -252,7 +252,7 @@
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 @@
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;
--
Gitblit v1.9.1