[PATCH 2 of 2 saem] [views/3.25] Stop using next_tabindex

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 31 18:12:00 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1490800986 -7200
#      Wed Mar 29 17:23:06 2017 +0200
# Node ID 074b4f96881133cfd33e85ed2588dcc6613bcd9a
# Parent  6c18419865401df8fae660c0133a98e3fa1f95b8
[views/3.25] Stop using next_tabindex

which has been dropped from cw 3.25

diff --git a/cubicweb_saem_ref/views/widgets.py b/cubicweb_saem_ref/views/widgets.py
--- a/cubicweb_saem_ref/views/widgets.py
+++ b/cubicweb_saem_ref/views/widgets.py
@@ -159,11 +159,11 @@ class ConceptAutoCompleteWidget(fw.TextI
                 value = concept.dc_title()
             eid = text_type(concept.eid)
         # we need an hidden input to handle the value while the text input display the label
         inputs = [
             tags.input(name=field.input_name(form, 'Label'), id=slave_id + 'Label',
-                       tabindex=req.next_tabindex(), klass='form-control', type='text',
+                       klass='form-control', type='text',
                        value=value),
             tags.input(name=field.input_name(form), id=slave_id, type='hidden',
                        value=eid)
         ]
         return u'\n'.join(inputs)


More information about the saem-devel mailing list