diff options
Diffstat (limited to 'framework/Web/Javascripts/source/prado/scriptaculous-adapter.js')
-rw-r--r-- | framework/Web/Javascripts/source/prado/scriptaculous-adapter.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js b/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js index 4dba8e0e..23b49f56 100644 --- a/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js +++ b/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js @@ -294,6 +294,7 @@ Prado.Element = }
catch(e)
{
+ debugger;
throw "Error in evaluating '"+value+"' for attribute "+attribute+" for element "+element.id;
}
}
@@ -451,7 +452,18 @@ Prado.Element = */
evaluateScript : function(content)
{
- content.evalScripts();
+ try
+ {
+ content.evalScripts();
+ }
+ catch(e)
+ {
+ if(typeof(Logger) != "undefined")
+ Logger.error('Error during evaluation of script "'+content+'"');
+ else
+ debugger;
+ throw e;
+ }
},
/**
|