web/formfields.py
changeset 7070 5f8e52d722c5
parent 6690 7d68948015ba
child 7166 dde161937d3e
--- a/web/formfields.py	Thu Mar 10 12:03:37 2011 +0100
+++ b/web/formfields.py	Thu Mar 10 12:04:46 2011 +0100
@@ -733,7 +733,7 @@
             wdgs.append(u'<a href="%s" title="%s"><img src="%s" alt="%s"/></a>' %
                         (xml_escape(uilib.toggle_action(divid)),
                          form._cw._('show advanced fields'),
-                         xml_escape(form._cw.build_url('data/puce_down.png')),
+                         xml_escape(form._cw.data_url('puce_down.png')),
                          form._cw._('show advanced fields')))
             wdgs.append(u'<div id="%s" class="hidden">' % divid)
             if self.name_field: