[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/security/browser/
Fix the 'logout' link for URL like '/++skin++Rotterdam/'.
Florent Xicluna
laxyf at yahoo.fr
Sun Oct 8 06:38:48 EDT 2006
Log message for revision 70568:
Fix the 'logout' link for URL like '/++skin++Rotterdam/'.
Changed:
U Zope3/trunk/src/zope/app/security/browser/logout.pt
U Zope3/trunk/src/zope/app/security/browser/redirect.pt
-=-
Modified: Zope3/trunk/src/zope/app/security/browser/logout.pt
===================================================================
--- Zope3/trunk/src/zope/app/security/browser/logout.pt 2006-10-08 10:34:11 UTC (rev 70567)
+++ Zope3/trunk/src/zope/app/security/browser/logout.pt 2006-10-08 10:38:47 UTC (rev 70568)
@@ -8,7 +8,7 @@
if (window.XMLHttpRequest) {
var xmlhttp = new XMLHttpRequest();
// Send invalid credentials, then abort
- xmlhttp.open("GET", "/@@", true, "logout", "logout");
+ xmlhttp.open("GET", "@@", true, "logout", "logout");
xmlhttp.send("");
xmlhttp.abort();
} else if (document.execCommand) {
Modified: Zope3/trunk/src/zope/app/security/browser/redirect.pt
===================================================================
--- Zope3/trunk/src/zope/app/security/browser/redirect.pt 2006-10-08 10:34:11 UTC (rev 70567)
+++ Zope3/trunk/src/zope/app/security/browser/redirect.pt 2006-10-08 10:38:47 UTC (rev 70568)
@@ -10,7 +10,7 @@
if (window.XMLHttpRequest) {
var xmlhttp = new XMLHttpRequest();
// Send invalid credentials, then abort
- xmlhttp.open("GET", "/@@", true, "logout", "logout");
+ xmlhttp.open("GET", "@@", true, "logout", "logout");
xmlhttp.send("");
xmlhttp.abort();
} else if (document.execCommand) {
More information about the Zope3-Checkins
mailing list