You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2007/01/26 03:52:08 UTC
svn commit: r500135 -
/incubator/xap/trunk/codebase/src/xap/taghandling/AbstractTagImpl.js
Author: mturyn
Date: Thu Jan 25 19:52:07 2007
New Revision: 500135
URL: http://svn.apache.org/viewvc?view=rev&rev=500135
Log:
http://issues.apache.org/jira/browse/XAP-280
Changed xap.xml.dom.Document.createTextNode(...)
to {an instance of xap.xml.dom.Document}.createTextNode(...).
Modified:
incubator/xap/trunk/codebase/src/xap/taghandling/AbstractTagImpl.js
Modified: incubator/xap/trunk/codebase/src/xap/taghandling/AbstractTagImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/taghandling/AbstractTagImpl.js?view=diff&rev=500135&r1=500134&r2=500135
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/taghandling/AbstractTagImpl.js (original)
+++ incubator/xap/trunk/codebase/src/xap/taghandling/AbstractTagImpl.js Thu Jan 25 19:52:07 2007
@@ -533,7 +533,7 @@
element.removeStructureChangeListener(this);
var firstChild = element.firstChild;
if (!firstChild){
- element.appendChild(xap.xml.dom.Document.createTextNode(value));
+ element.appendChild(this.getUiDocument().createTextNode(value));
}
else if (firstChild.nodeType==google.DOM_TEXT_NODE){
firstChild.nodeValue = value;