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 jm...@apache.org on 2007/03/06 20:30:20 UTC
svn commit: r515287 -
/incubator/xap/trunk/codebase/src/xap/xml/dom/XapElement.js
Author: jmargaris
Date: Tue Mar 6 12:30:19 2007
New Revision: 515287
URL: http://svn.apache.org/viewvc?view=rev&rev=515287
Log:
https://issues.apache.org/jira/browse/XAP-322 fix submitted by dgennaco
Modified:
incubator/xap/trunk/codebase/src/xap/xml/dom/XapElement.js
Modified: incubator/xap/trunk/codebase/src/xap/xml/dom/XapElement.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/xml/dom/XapElement.js?view=diff&rev=515287&r1=515286&r2=515287
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/xml/dom/XapElement.js (original)
+++ incubator/xap/trunk/codebase/src/xap/xml/dom/XapElement.js Tue Mar 6 12:30:19 2007
@@ -378,7 +378,7 @@
*/
xap.xml.dom.XapElement.prototype.toXml = function ( prettyPrint ) {
var sbuf = "";
- this._toStringHelper( this, sbuf, 0, prettyPrint, true );
+ sbuf = this._toStringHelper( this, sbuf, 0, prettyPrint, true );
return sbuf;
};
@@ -391,7 +391,7 @@
*/
xap.xml.dom.XapElement.prototype.toXmlWithoutAutoAssignedIds = function( prettyPrint ) {
var sbuf = "";
- this._toStringHelper( this, sbuf, 0, prettyPrint, false );
+ sbuf = this._toStringHelper( this, sbuf, 0, prettyPrint, false );
return sbuf;
};