diff --git a/Apache/SOGo.conf b/Apache/SOGo.conf
index 2fabfb9ec..1bc0b9971 100644
--- a/Apache/SOGo.conf
+++ b/Apache/SOGo.conf
@@ -29,13 +29,12 @@ AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
/usr/GNUstep/System/Library/SOGo-0.9/$1.SOGo/Resources/$2
- BalancerMember http://127.0.0.1:20000 retry=1 max=1 timeout=10
- BalancerMember http://127.0.0.1:20001 retry=1 max=1 timeout=10
- BalancerMember http://127.0.0.1:20002 retry=1 max=1 timeout=10
+ BalancerMember http://127.0.0.1:20000 retry=1 max=1 timeout=120
+ BalancerMember http://127.0.0.1:20001 retry=1 max=1 timeout=120
+ BalancerMember http://127.0.0.1:20002 retry=1 max=1 timeout=120
ProxySet lbmethod=byrequests maxattempts=1
-SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
ProxyRequests Off
ProxyPass /SOGo balancer://sogocluster/SOGo
diff --git a/ChangeLog b/ChangeLog
index f95eb9c44..07fa2221c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-05 Ludovic Marcotte
+
+ * Updated prototype to the latest development version
+ in order to fix an IE7 bug related to the DOM load event
+ * Improved the mod_proxy/mod_proxy_balancer configuration
+
2009-03-04 Wolfgang Sourdeau
* SoObjects/SOGo/SOGoLDAPUserDefaultsBootstrap.m: new module for
diff --git a/UI/WebServerResources/generic.js b/UI/WebServerResources/generic.js
index 8627cd334..256fc31f6 100644
--- a/UI/WebServerResources/generic.js
+++ b/UI/WebServerResources/generic.js
@@ -1439,7 +1439,7 @@ function onLoadHandler(event) {
progressImage.parentNode.removeChild(progressImage);
$(document.body).observe("contextmenu", onBodyClickContextMenu);
- FastInit.addOnLoad(onFinalLoadHandler);
+ onFinalLoadHandler();
}
function onBodyClickContextMenu(event) {
diff --git a/UI/WebServerResources/prototype.js b/UI/WebServerResources/prototype.js
index dfe8ab4e1..e8b744461 100644
--- a/UI/WebServerResources/prototype.js
+++ b/UI/WebServerResources/prototype.js
@@ -1,5 +1,5 @@
/* Prototype JavaScript framework, version 1.6.0.3
- * (c) 2005-2008 Sam Stephenson
+ * (c) 2005-2009 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/
@@ -22,11 +22,24 @@ var Prototype = {
BrowserFeatures: {
XPath: !!document.evaluate,
SelectorsAPI: !!document.querySelector,
- ElementExtensions: !!window.HTMLElement,
- SpecificElementExtensions:
- document.createElement('div')['__proto__'] &&
- document.createElement('div')['__proto__'] !==
- document.createElement('form')['__proto__']
+ ElementExtensions: (function() {
+ if (window.HTMLElement && window.HTMLElement.prototype)
+ return true;
+ if (window.Element && window.Element.prototype)
+ return true;
+ })(),
+ SpecificElementExtensions: (function() {
+ if (typeof window.HTMLDivElement !== 'undefined')
+ return true;
+
+ var div = document.createElement('div');
+ if (div['__proto__'] && div['__proto__'] !==
+ document.createElement('form')['__proto__']) {
+ return true;
+ }
+
+ return false;
+ })()
},
ScriptFragment: '