From 879916b344b1ea336fca4dba35b6aa2cb26bf179 Mon Sep 17 00:00:00 2001 From: znek Date: Thu, 21 Jul 2005 09:32:34 +0000 Subject: [PATCH] fixed POST for Firefox on Windows git-svn-id: http://svn.opengroupware.org/SOGo/trunk@864 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/Main/ChangeLog | 5 +++++ SOGo/Main/Version | 2 +- SOGo/Main/homepage.js | 7 ++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/SOGo/Main/ChangeLog b/SOGo/Main/ChangeLog index ef09b095..9253a79b 100644 --- a/SOGo/Main/ChangeLog +++ b/SOGo/Main/ChangeLog @@ -1,3 +1,8 @@ +2005-07-21 Marcus Mueller + + * homepage.js: fixed post to send an empty string instead of null - + this works in Firefox on MacOSX but fails on Windows (v0.9.36) + 2005-07-20 Marcus Mueller * v0.9.35 diff --git a/SOGo/Main/Version b/SOGo/Main/Version index e4c2cdf3..b991595c 100644 --- a/SOGo/Main/Version +++ b/SOGo/Main/Version @@ -1,6 +1,6 @@ # Version file -SUBMINOR_VERSION:=35 +SUBMINOR_VERSION:=36 # v0.9.32 requires libSOGo v0.9.57 # v0.9.24 requires libWEExtensions v4.5.67 diff --git a/SOGo/Main/homepage.js b/SOGo/Main/homepage.js index 69057dd6..b98b9a17 100644 --- a/SOGo/Main/homepage.js +++ b/SOGo/Main/homepage.js @@ -36,13 +36,14 @@ function postInternetAccessState(sender, state) { if (http) { http.open("POST", url, false); - http.send(null); + http.send(""); if (http.status != 200) { alert("Failed to change state: " + http.statusText); - window.opener.location.reload(); + window.location.reload(); } } else { - window.opener.location.href = url; + alert("Unable to retrieve HTTPClient object!"); + window.location.href = url; } } -- 2.39.5