changeset 1543:e21280d03d57

fix crash with edit-on-doubleclick code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 13 Sep 2006 09:39:20 +0200
parents 6d4cdcdab47a
children b9e4f2a88b64
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Tue Sep 12 21:59:21 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Wed Sep 13 09:39:20 2006 +0200
@@ -1520,7 +1520,7 @@
             not keywords.get('print_mode', 0) and
             request.user.edit_on_doubleclick):
             if request.user.may.write(pagename): # separating this gains speed
-                querystr = wikiutil.escape(makeQueryString({'action': 'edit'}))
+                querystr = wikiutil.escape(wikiutil.makeQueryString({'action': 'edit'}))
                 # TODO: remove escape=0 in 2.0
                 url = page.url(request, querystr, escape=0)
                 bodyattr.append(''' ondblclick="location.href='%s'" ''' % url)