Author: vmolotkov
Date: 2008-01-25 15:09:30 -0500 (Fri, 25 Jan 2008)
New Revision: 5651
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ShuttleUtils.js
Log:
http://jira.jboss.com/jira/browse/RF-1985?page=all
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ShuttleUtils.js
===================================================================
---
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ShuttleUtils.js 2008-01-25
20:04:48 UTC (rev 5650)
+++
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ShuttleUtils.js 2008-01-25
20:09:30 UTC (rev 5651)
@@ -11,9 +11,9 @@
clearInterval(Event._timer);
}
- if (document.removeEventListener) {
+ /*if (document.removeEventListener) {
document.removeEventListener("DOMContentLoaded", domReady, false);
- }
+ }*/
Event.stopObserving(window, 'load', domReady);
}
@@ -29,15 +29,15 @@
this._readyCallbacks = [];
- if (document.addEventListener) {
+ /*if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", domReady, false);
- }
+ }*/
- if (/WebKit/i.test(navigator.userAgent)) {
+ //if (/WebKit/i.test(navigator.userAgent)) {
this._timer = setInterval(function() {
if (/loaded|complete/.test(document.readyState)) domReady();
}, 10);
- }
+ //}
this.observe(window, 'load', domReady);
}