changeset 1560:9a5e2c7531a0

fix doubleclick editing URL
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 18 Sep 2006 19:28:59 +0200
parents f0f228749435
children d12202b5791c
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Mon Sep 18 12:00:37 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Mon Sep 18 19:28:59 2006 +0200
@@ -1522,7 +1522,7 @@
             if request.user.may.write(pagename): # separating this gains speed
                 querystr = wikiutil.escape(wikiutil.makeQueryString({'action': 'edit'}))
                 # TODO: remove escape=0 in 2.0
-                url = page.url(request, querystr, escape=0)
+                url = page.url(request, querystr, escape=0, relative=False)
                 bodyattr.append(''' ondblclick="location.href='%s'" ''' % url)
 
         # Set body to the user interface language and direction