[controllers] cleanup unused js var
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 20 Apr 2010 09:57:47 +0200
changeset 5333 9eea4a5eaf1a
parent 5332 5a70a3c70b9d
child 5334 7da1a6ca8f65
[controllers] cleanup unused js var
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Tue Apr 20 09:13:08 2010 +0200
+++ b/web/views/basecontrollers.py	Tue Apr 20 09:57:47 2010 +0200
@@ -239,7 +239,6 @@
         self._cw.set_content_type('text/html')
         jsargs = simplejson.dumps((status, args, entity), cls=CubicWebJsonEncoder)
         return """<script type="text/javascript">
- wp = window.parent;
  window.parent.handleFormValidationResponse('%s', %s, %s, %s, %s);
 </script>""" %  (domid, callback, errback, jsargs, cbargs)