svnno****@sourc*****
svnno****@sourc*****
2010年 2月 5日 (金) 21:29:12 JST
Revision: 1641 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1641 Author: dhrname Date: 2010-02-05 21:29:12 +0900 (Fri, 05 Feb 2010) Log Message: ----------- hasAttributeNSメソッドの修正 Modified Paths: -------------- branches/ufltima/core.js Modified: branches/ufltima/core.js =================================================================== --- branches/ufltima/core.js 2010-02-05 11:57:26 UTC (rev 1640) +++ branches/ufltima/core.js 2010-02-05 12:29:12 UTC (rev 1641) @@ -639,7 +639,7 @@ /*boolean*/ Element.prototype.hasAttribute = function( /*string*/ name) { }; /*boolean*/ Element.prototype.hasAttributeNS = function( /*string*/ namespaceURI, /*string*/ localName) { - if (this.getNamedItemNS(namespaceURI, localName)) { //ノードの取得に成功した場合 + if (this.getAttributeNodeNS(namespaceURI, localName)) { //ノードの取得に成功した場合 return true; } else { return false;