projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88fb1a6
)
Add ViewPort_Buffer#UIDsToRows
author
Michael M Slusarz
<slusarz@curecanti.org>
Sun, 21 Nov 2010 19:09:14 +0000
(12:09 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Sun, 21 Nov 2010 19:09:14 +0000
(12:09 -0700)
imp/js/viewport.js
patch
|
blob
|
history
diff --git
a/imp/js/viewport.js
b/imp/js/viewport.js
index
6622fc6
..
3f117e9
100644
(file)
--- a/
imp/js/viewport.js
+++ b/
imp/js/viewport.js
@@
-1601,6
+1601,11
@@
ViewPort_Buffer = Class.create({
return rows.collect(this.rowlist.get.bind(this.rowlist)).compact();
},
+ UIDsToRows: function(uids)
+ {
+ return rows.collect(this.rowlist.index.bind(this.rowlist)).compact();
+ },
+
// vs = (ViewPort_Selection) TODO
select: function(vs)
{