web/views/basecontrollers.py
changeset 6333 e3994fcc21c3
parent 6279 42079f752a9c
parent 6302 ca5d09ff0379
child 6366 1806148d6ce8
--- a/web/views/basecontrollers.py	Tue Sep 21 16:35:37 2010 +0200
+++ b/web/views/basecontrollers.py	Thu Sep 23 23:28:58 2010 +0200
@@ -160,7 +160,7 @@
         return view, rset
 
     def add_to_breadcrumbs(self, view):
-        # update breadcrumps **before** validating cache, unless the view
+        # update breadcrumbs **before** validating cache, unless the view
         # specifies explicitly it should not be added to breadcrumb or the
         # view is a binary view
         if view.add_to_breadcrumbs and not view.binary:
@@ -463,7 +463,7 @@
     def js_reledit_form(self):
         req = self._cw
         args = dict((x, req.form[x])
-                    for x in ('formid', 'rtype', 'role', 'reload', 'default_value'))
+                    for x in ('formid', 'rtype', 'role', 'reload'))
         rset = req.eid_rset(typed_eid(self._cw.form['eid']))
         try:
             args['reload'] = json.loads(args['reload'])