projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee694b
)
Array metadata should not be treated as a Hash
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 24 Feb 2010 21:27:50 +0000
(14:27 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 24 Feb 2010 21:36:13 +0000
(14:36 -0700)
imp/js/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/ViewPort.js
b/imp/js/ViewPort.js
index
635d52e
..
76ed5a3
100644
(file)
--- a/
imp/js/ViewPort.js
+++ b/
imp/js/ViewPort.js
@@
-1447,7
+1447,9
@@
ViewPort_Buffer = Class.create({
this.usermdata = $H(md);
} else {
$H(md).each(function(pair) {
- if (Object.isString(pair.value) || Object.isNumber(pair.value)) {
+ if (Object.isString(pair.value) ||
+ Object.isNumber(pair.value) ||
+ Object.isArray(pair.value)) {
this.usermdata.set(pair.key, pair.value);
} else {
var val = this.usermdata.get(pair.key);