From e7886405d89806e79940976e6a8faad0374bb6be Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 07 Apr 2008 08:31:29 -0400
Subject: [PATCH] - added check
---
program/js/list.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/js/list.js b/program/js/list.js
index 2b3c7a8..eceb1a9 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -172,7 +172,7 @@
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);
--
Gitblit v1.9.1