projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3e88596
)
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 7 Apr 2010 09:04:56 +0000
(11:04 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 7 Apr 2010 09:04:56 +0000
(11:04 +0200)
js/pz2.js
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/js/pz2.js
index
bf6a9b8
..
bad26ac
100644
(file)
--- a/
js/pz2.js
+++ b/
js/pz2.js
@@
-967,7
+967,7
@@
Element_parseChildNodes = function (node)
// if no nested elements, get text content
if (node.hasChildNodes() && !hasChildElems) {
if (node.attributes.length)
- parsed['textContent'] = node.firstChild.nodeValue;
+ parsed['#text'] = node.firstChild.nodeValue;
else
parsed = node.firstChild.nodeValue;
}