projects
/
gnome.seed
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05fc42c
)
[libxml] getAttribute would only work for the first attribute in a tag. Fix this
author
Robert Carr
<racarr@gnome.org>
Sun, 2 Aug 2009 18:05:53 +0000
(14:05 -0400)
committer
Robert Carr
<racarr@gnome.org>
Mon, 3 Aug 2009 01:20:33 +0000
(21:20 -0400)
modules/libxml/xml.js
patch
|
blob
|
history
diff --git
a/modules/libxml/xml.js
b/modules/libxml/xml.js
index
6ddbe78
..
b6cccb6
100644
(file)
--- a/
modules/libxml/xml.js
+++ b/
modules/libxml/xml.js
@@
-16,6
+16,7
@@
xml._nodeProto.getAttribute = function(name){
while (properties){
if (properties.name == name)
return properties.children.content;
+ properties = properties.next
}
return null;
}