projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ac06d
)
only update the DOM once
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 5 May 2009 18:34:23 +0000
(14:34 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 5 May 2009 18:34:23 +0000
(14:34 -0400)
kronolith/js/src/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/src/kronolith.js
b/kronolith/js/src/kronolith.js
index
890ea72
..
4f04e78
100644
(file)
--- a/
kronolith/js/src/kronolith.js
+++ b/
kronolith/js/src/kronolith.js
@@
-1444,13
+1444,15
@@
KronolithCore = {
_topTags: function(r)
{
- $('kronolithEventTopTags').update();
if (!r.response.tags) {
+ $('kronolithEventTopTags').update();
return;
}
+ t = new Element('div', {});
r.response.tags.each(function(tag) {
-
$('kronolithEventTopTags')
.insert(new Element('span', { 'class': 'kronolithEventTag' }).update(tag));
+
t
.insert(new Element('span', { 'class': 'kronolithEventTag' }).update(tag));
});
+ $('kronolithEventTopTags').update(t);
return;
},