[IMP] web: nodeValue is deprecated
authorRichard Mathot <rim@openerp.com>
Fri, 3 Oct 2014 12:23:33 +0000 (14:23 +0200)
committerRichard Mathot <rim@openerp.com>
Fri, 3 Oct 2014 12:23:38 +0000 (14:23 +0200)
addons/web/static/src/js/core.js

index 5ed174a..983a0a0 100644 (file)
@@ -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;