projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1678fa1
)
Fix callback.
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Apr 2009 23:19:00 +0000
(17:19 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Apr 2009 23:19:00 +0000
(17:19 -0600)
imp/js/src/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/src/ViewPort.js
b/imp/js/src/ViewPort.js
index
3459246
..
ec5bd5b
100644
(file)
--- a/
imp/js/src/ViewPort.js
+++ b/
imp/js/src/ViewPort.js
@@
-164,12
+164,12
@@
var ViewPort = Class.create({
// opts = (object) TODO [cacheid, noupdate, view]
remove: function(vs, opts)
{
- if (this.isbusy) {
- this.remove.bind(this, vs, cacheid, view).defer();
+ if (!vs.size()) {
return;
}
- if (!vs.size()) {
+ if (this.isbusy) {
+ this.remove.bind(this, vs, opts).defer();
return;
}