From 5de52365d3dc32fa3d288cb01b43ba7339c0f063 Mon Sep 17 00:00:00 2001 From: piro Date: Mon, 13 Sep 2010 10:22:02 +0000 Subject: [PATCH] compare as string git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7188 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 64d99ebb..56705679 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -799,7 +799,7 @@ var TreeStyleTabUtils = { }); if (aValue) { - expected[aAttr] = aValue; + expected[aAttr] = String(aValue); aElem.setAttribute(aAttr, aValue); } else {