diff options
Diffstat (limited to 'framework/Web/Javascripts/source')
| -rw-r--r-- | framework/Web/Javascripts/source/prado/prado.js | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js index 6cc30c2c..25550bca 100644 --- a/framework/Web/Javascripts/source/prado/prado.js +++ b/framework/Web/Javascripts/source/prado/prado.js @@ -524,9 +524,17 @@ Prado.Element =  	 * Evaluate a javascript snippet from a string.  	 * @function ?  	 * @param {string} content - String containing the script +	 * @param {string} boundary - Boundary containing the script  	 */ -	evaluateScript : function(content) +	evaluateScript : function(content, boundary)  	{ +		if(boundary) +		{ +			var result = this.extractContent(boundary); +			if(result != null) +				content = result; +		} +  		try  		{  			jQuery.globalEval(content); | 
