[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/rotterdam/editingwidgets.py I really do not like this code, since people tend to forget to update

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jul 13 13:21:02 EDT 2004


Log message for revision 26494:
  I really do not like this code, since people tend to forget to update 
  it, which meant that some new functional tests failed in almost 
  unexplainable ways. I fixed the widget a bit, which helps a lot.
  


Changed:
  U   Zope3/trunk/src/zope/app/rotterdam/editingwidgets.py


-=-
Modified: Zope3/trunk/src/zope/app/rotterdam/editingwidgets.py
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/editingwidgets.py	2004-07-13 17:19:25 UTC (rev 26493)
+++ Zope3/trunk/src/zope/app/rotterdam/editingwidgets.py	2004-07-13 17:21:02 UTC (rev 26494)
@@ -18,10 +18,11 @@
 
 from zope.interface import implements
 from zope.app.form.interfaces import IInputWidget
-from zope.app.form.browser.widget import SimpleInputWidget, renderElement
+from zope.app.form.browser import TextAreaWidget
+from zope.app.form.browser.widget import renderElement
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 
-class SimpleEditingWidget(SimpleInputWidget):
+class SimpleEditingWidget(TextAreaWidget):
     """Improved textarea editing, with async saving using JavaScript."""
 
     implements(IInputWidget)



More information about the Zope3-Checkins mailing list