products/CPSonFive.old

changeset 3:637830cb0c2a

Various rendering improvements
author lregebro
date Mon, 27 Jun 2005 10:14:54 +0000
parents edfc69361929
children 4d3bd6f09b25
files form/widget.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/form/widget.py
     1.2 +++ b/form/widget.py
     1.3 @@ -63,12 +63,12 @@
     1.4                              size=self.displayWidth,
     1.5                              extra=self.extra)
     1.6          style = "text-decoration:none;border:1px solid black;padding:0.2em 0.3em;"
     1.7 -        js = "window.open('../../documentnavigation_popup?input_id=" + \
     1.8 +        js = "window.open('documentnavigation_popup?input_id=" + \
     1.9                            self.name + "', 'DirectoryMultiEntryFinder', " \
    1.10                            "'toolbar=0, scrollbars=1, location=0, " \
    1.11                            "statusbar=0, menubar=0, resizable=1, dependent=1, " \
    1.12                            "width=500, height=480')"
    1.13 -        btn = renderElement("button", style=style, onClick=js, 
    1.14 -                            contents=_("..."))
    1.15 +        btn = renderElement("input", type="button", style=style, onClick=js, 
    1.16 +                            value=_("..."))
    1.17          return res + " " + btn
    1.18          
    1.19 \ No newline at end of file