Author: hermanns Date: Fri Jun 13 09:19:32 2008 New Revision: 667583 URL: http://svn.apache.org/viewvc?rev=667583&view=rev Log: WW-2541 Backport WW-1951 to struts stable o patch by Jelmer Kuperus applied
Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js?rev=667583&r1=667582&r2=667583&view=diff ============================================================================== --- struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js (original) +++ struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js Fri Jun 13 09:19:32 2008 @@ -140,6 +140,8 @@ if(this.executeScripts) { //update targets content var parsed = this.parse(data); + this.setContent(parsed.text); + //eval scripts if(parsed.scripts && parsed.scripts.length > 0) { var scripts = ""; @@ -148,7 +150,6 @@ } (new Function('_container_', scripts+'; return this;'))(this); } - this.setContent(parsed.text); } else { this.setContent(data);