[jsoncontroller] bugfix: update to match new validate_form API 3.5
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 16 Sep 2009 17:16:29 +0200
branch3.5
changeset 3260 49728db93b3e
parent 3259 2c5c1f434640
child 3261 559387273d98
[jsoncontroller] bugfix: update to match new validate_form API
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Wed Sep 16 17:15:50 2009 +0200
+++ b/web/views/basecontrollers.py	Wed Sep 16 17:16:29 2009 +0200
@@ -393,7 +393,7 @@
 
     @jsonize
     def js_edit_field(self, action, names, values, rtype, eid, default):
-        success, args = self.validate_form(action, names, values)
+        success, args, _ = self.validate_form(action, names, values)
         if success:
             # Any X,N where we don't seem to use N is an optimisation
             # printable_value won't need to query N again