From 18413201f490630d8adb0c8792ce9764680de180 Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 24 Jan 2007 23:09:34 +0100 Subject: [PATCH] [svn r37306] Fixed link (now properly has an href). --HG-- branch : trunk --- py/apigen/htmlgen.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py/apigen/htmlgen.py b/py/apigen/htmlgen.py index b9adbb288..31133d7b7 100644 --- a/py/apigen/htmlgen.py +++ b/py/apigen/htmlgen.py @@ -322,7 +322,9 @@ class ApiPageBuilder(AbstractPageBuilder): H.FunctionDef(localname, argdesc), H.Docstring(docstring or H.em('no docstring available')), H.div(H.a('show/hide info', - onclick='showhideel(this.parentNode.lastChild);'), + href='#', + onclick=('showhideel(this.parentNode.lastChild);' + 'return false;')), H.div(valuedesc, csource, style='display: none', class_='funcinfo')), )