From 92f32fa03afcf0727ed33819aad95fd96e25c7ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 23 Aug 2013 17:58:22 +0200 Subject: [PATCH] Correctly set attributes --- src/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.js b/src/view.js index da89ce54e8..cd0c051f34 100644 --- a/src/view.js +++ b/src/view.js @@ -128,7 +128,7 @@ ['readonly', 'tree_invisible', 'expand', 'completion'].forEach( function(name) { if (attributes[name]) { - attributes[name] = attribute[name] == 1; + attributes[name] = attributes[name] == 1; } }); if (child.tagName == 'field') {