Author: jmorliaguet
Date: Sun May  7 14:28:03 2006
New Revision: 3066

Modified:
   cpsskins/branches/paris-sprint-2006/lib/prototype/src/prototype.js

Log:

prototype svn update

* Prevent possible exceptions on unloading the page in IE [Thomas Fuchs]



Modified: cpsskins/branches/paris-sprint-2006/lib/prototype/src/prototype.js
==============================================================================
--- cpsskins/branches/paris-sprint-2006/lib/prototype/src/prototype.js  
(original)
+++ cpsskins/branches/paris-sprint-2006/lib/prototype/src/prototype.js  Sun May 
 7 14:28:03 2006
@@ -1765,7 +1765,9 @@
     if (element.removeEventListener) {
       element.removeEventListener(name, observer, useCapture);
     } else if (element.detachEvent) {
-      element.detachEvent('on' + name, observer);
+      try {
+        element.detachEvent('on' + name, observer);
+      } catch (e) {}
     }
   }
 });
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to