projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfbe622
)
Fix removing flags in viewport
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 10 Mar 2009 04:49:30 +0000
(22:49 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 10 Mar 2009 04:49:30 +0000
(22:49 -0600)
imp/js/src/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/src/ViewPort.js
b/imp/js/src/ViewPort.js
index
70cdf9e
..
05330b5
100644
(file)
--- a/
imp/js/src/ViewPort.js
+++ b/
imp/js/src/ViewPort.js
@@
-807,7
+807,7
@@
var ViewPort = Class.create({
if (add) {
r.bg.push(flag);
} else {
- r.bg.
splice(r.bg.indexOf(flag), 1
);
+ r.bg.
without(flag
);
}
if (filter) {
this._updateFlag(this.createSelection('uid', r.vp_id, r.view), flag, add);