Remove initial_thru_ajax
authorNoe Gaumont <ngaumont@logilab.fr>
Fri, 21 Jun 2019 16:28:33 +0200
changeset 70 b13ddf344c72
parent 69 5e315c7545cf
child 71 02802ad7a598
Remove initial_thru_ajax It has been removed in cubicweb in e411fc8e189a
cubicweb_treeview/views/treeview.py
--- a/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:28:28 2019 +0200
+++ b/cubicweb_treeview/views/treeview.py	Fri Jun 21 16:28:33 2019 +0200
@@ -140,13 +140,13 @@
                   & (match_kwargs('related', 'required', 'multiple', 'leavesonly',
                                   'tree_uid', 'level')) & adaptable('ITree'))
 
-    def _init_params(self, subvid, treeid, initial_load, initial_thru_ajax, morekwargs):
+    def _init_params(self, subvid, treeid, initial_load, morekwargs):
         form = self._cw.form
         initial_fname = form.get('fname', None)
         if initial_fname == 'reledit_form':
             form.pop('fname')
         return super(TVTreeEditView, self)._init_params(
-            subvid, treeid, initial_load, initial_thru_ajax, morekwargs)
+            subvid, treeid, initial_load, morekwargs)
 
 
 class TVNotTreeEditView(treeview.DefaultTreeViewItemView):