From 5371dc78899b7a4c409a4db7e5775726012c8ef2 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 29 Sep 2010 10:32:44 +0000 Subject: Correct JS syntax --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/js/list.js b/program/js/list.js index 22c8080a7..2b4961235 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -862,7 +862,7 @@ clear_selection: function(id) // one row if (id) { - for (var n=0 in this.selection) + for (var n in this.selection) if (this.selection[n] == id) { this.selection.splice(n,1); break; -- cgit v1.2.3