From 4c87ccb50fef8107de57185c9a875a538aaa3b07 Mon Sep 17 00:00:00 2001 From: Richard Mathot Date: Fri, 3 Oct 2014 14:23:33 +0200 Subject: [PATCH] [IMP] web: nodeValue is deprecated --- addons/web/static/src/js/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js index 5ed174a128d..983a0a0e4e5 100644 --- 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;