[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - vocabularywidget.py:1.12

Gary Poster gary@zope.com
Thu, 29 May 2003 15:05:51 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv5124

Modified Files:
	vocabularywidget.py 
Log Message:
fix presentation of buttons.



=== Zope3/src/zope/app/browser/form/vocabularywidget.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/form/vocabularywidget.py:1.11	Thu May 29 11:38:51 2003
+++ Zope3/src/zope/app/browser/form/vocabularywidget.py	Thu May 29 15:05:50 2003
@@ -219,7 +219,7 @@
     def renderAction(self, action, disabled=False):
         msgid = self.__actions[action]
         return ("<input type='submit' name='%s.action-%s' value=%s %s/>"
-                % (self.name, action, self.translate(msgid),
+                % (self.name, action, quoteattr(self.translate(msgid)),
                    disabled and "disabled " or ""))
 
     def translate(self, msgid):