Author: maksimkaszynski
Date: 2007-09-17 10:55:28 -0400 (Mon, 17 Sep 2007)
New Revision: 318
Modified:
branches/version_1_0_7/src/framework/JavaScript/ajaxjsf/JSFAJAX.js
Log:
fixed a typo
Modified: branches/version_1_0_7/src/framework/JavaScript/ajaxjsf/JSFAJAX.js
===================================================================
--- branches/version_1_0_7/src/framework/JavaScript/ajaxjsf/JSFAJAX.js 2007-09-07 12:00:04
UTC (rev 317)
+++ branches/version_1_0_7/src/framework/JavaScript/ajaxjsf/JSFAJAX.js 2007-09-17 14:55:28
UTC (rev 318)
@@ -499,10 +499,14 @@
A4J.AJAX.CloneObject = function( obj, noFunctions ) {
var cloned = {};
for( var n in obj ){
- if(noFunctions && typeof(evt[prop]) == 'function'){
- continue;
+ try {
+ if(noFunctions && typeof(obj[n]) == 'function'){
+ continue;
+ }
+ cloned[n]=obj[n];
+ } catch(e) {
+ //
}
- cloned[n]=obj[n];
}
return cloned;
}
Show replies by date