# HG changeset patch # User Adrien Di Mascio # Date 1253114189 -7200 # Node ID 49728db93b3e131c36e2ef55e8ebda9894654cfe # Parent 2c5c1f434640b581785957b2f11539fec89d4e66 [jsoncontroller] bugfix: update to match new validate_form API diff -r 2c5c1f434640 -r 49728db93b3e 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