projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f15654
)
node.iconopen might not be defined
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 15 Jul 2010 23:17:58 +0000
(17:17 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 15 Jul 2010 23:17:58 +0000
(17:17 -0600)
horde/js/hordetree.js
patch
|
blob
|
history
diff --git
a/horde/js/hordetree.js
b/horde/js/hordetree.js
index
7a2fcbd
..
3b39cba
100644
(file)
--- a/
horde/js/hordetree.js
+++ b/
horde/js/hordetree.js
@@
-465,7
+465,7
@@
var Horde_Tree = Class.create({
// Image.
if (!Object.isUndefined(node.icon)) {
- src.push(
node.expanded
? node.iconopen : node.icon);
+ src.push(
(node.expanded && node.iconopen)
? node.iconopen : node.icon);
} else {
// Use standard icon set.
src.push(node.expanded ? this.opts.imgFolderOpen : this.opts.imgFolder);