projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9353c10
)
[IMP] web: nodeValue is deprecated
author
Richard Mathot
<rim@openerp.com>
Fri, 3 Oct 2014 12:23:33 +0000
(14:23 +0200)
committer
Richard Mathot
<rim@openerp.com>
Fri, 3 Oct 2014 12:23:38 +0000
(14:23 +0200)
addons/web/static/src/js/core.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/core.js
b/addons/web/static/src/js/core.js
index
5ed174a
..
983a0a0
100644
(file)
--- a/
addons/web/static/src/js/core.js
+++ b/
addons/web/static/src/js/core.js
@@
-554,7
+554,7
@@
$.fn.getAttributes = function() {
if (this.length) {
for (var attr, i = 0, attrs = this[0].attributes, l = attrs.length; i < l; i++) {
attr = attrs.item(i);
- o[attr.nodeName] = attr.nodeValue;
+ o[attr.nodeName] = attr.value;
}
}
return o;