summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 2b3c7a8f6..eceb1a9ec 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -172,7 +172,7 @@ focus: function(e)
for (var n=0; n<this.selection.length; n++)
{
id = this.selection[n];
- if (this.rows[id].obj)
+ if (this.rows[id] && this.rows[id].obj)
{
this.set_classname(this.rows[id].obj, 'selected', true);
this.set_classname(this.rows[id].obj, 'unfocused', false);