summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-17 13:48:23 +0000
committeralecpl <alec@alec.pl>2010-03-17 13:48:23 +0000
commit81ab85e5ab9377fd805a91a78388ad9775366a34 (patch)
tree9261498ff0d54dafd8cee82e0c80ca923845464c /program/js/list.js
parent71e7545f946a6dd5a3052cd659e51dc4be3fecbc (diff)
- use jQuery.inArray() instead of rcube_in_array()
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 3ab4b1a83..5764afc98 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -840,7 +840,7 @@ highlight_row: function(id, multiple)
}
else // unselect row
{
- var p = find_in_array(id, this.selection);
+ var p = jQuery.inArray(id, this.selection);
var a_pre = this.selection.slice(0, p);
var a_post = this.selection.slice(p+1, this.selection.length);
this.selection = a_pre.concat(a_post);