projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4fc00
)
Correctly display status flags when updating viewport.
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 16 Jan 2009 19:33:11 +0000
(12:33 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 16 Jan 2009 19:37:20 +0000
(12:37 -0700)
imp/js/src/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/src/ViewPort.js
b/imp/js/src/ViewPort.js
index
20163ec
..
e0bbc7d
100644
(file)
--- a/
imp/js/src/ViewPort.js
+++ b/
imp/js/src/ViewPort.js
@@
-700,6
+700,12
@@
var ViewPort = Class.create({
c_nodes.push(this.template.evaluate(r));
}, this);
c.update(c_nodes.join(''));
+
+ if (this.opts.onUpdateClass) {
+ rows.get('div').each(function(d) {
+ this.opts.onUpdateClass(d);
+ }, this);
+ }
} else {
// If loading a viewport for the first time, show a blank
// viewport rather than the empty viewport status message.
@@
-819,7
+825,7
@@
var ViewPort = Class.create({
}
if (this.opts.onUpdateClass) {
- this.opts.onUpdateClass(d
, add
);
+ this.opts.onUpdateClass(d);
}
}, this);
},