Author: pyaschenko
Date: 2009-04-22 10:22:05 -0400 (Wed, 22 Apr 2009)
New Revision: 13763
Modified:
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
Log:
https://jira.jboss.org/jira/browse/RF-6083
Modified:
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
===================================================================
---
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2009-04-22
13:47:21 UTC (rev 13762)
+++
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2009-04-22
14:22:05 UTC (rev 13763)
@@ -374,6 +374,7 @@
// to execute if the user presses cancel in an onbeforeunload
// confirm dialog and then presses the browser stop button
window.setTimeout(function() {
+ if (d)//RF: added by PY, RF-6083
d.detachEvent('onstop', stop);
}, 0);
}