cleanup base class
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 Jan 2010 16:48:06 +0100
changeset 4375 6d34e3cf60a3
parent 4374 ff3efacfea42
child 4376 839b28a3652e
cleanup base class
web/formwidgets.py
--- a/web/formwidgets.py	Tue Jan 26 16:47:45 2010 +0100
+++ b/web/formwidgets.py	Tue Jan 26 16:48:06 2010 +0100
@@ -698,12 +698,11 @@
 
 # more widgets #################################################################
 
-class EditableURLWidget(TextInput):
+class EditableURLWidget(FieldWidget):
     """custom widget to edit separatly an url path / query string (used by
     default for Bookmark.path for instance), dealing with url quoting nicely
     (eg user edit the unquoted value).
     """
-    type = 'text'
 
     def _render(self, form, field, renderer):
         """render the widget for the given `field` of `form`.