[PATCH seda] [3.25 migration] next_tabindex is not anymore part of cw

Sylvain Thenault sylvain.thenault at logilab.fr
Wed Oct 11 14:48:18 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1507714509 -7200
#      Wed Oct 11 11:35:09 2017 +0200
# Node ID da38fb0bba11c1227d839165a795cfc95e9f802f
# Parent  79239b803783a39288238e7239522f784f4155da
# Available At https://hg.logilab.org/review/cubes/seda
#              hg pull https://hg.logilab.org/review/cubes/seda -r da38fb0bba11
[3.25 migration] next_tabindex is not anymore part of cw

diff --git a/cubicweb_seda/views/widgets.py b/cubicweb_seda/views/widgets.py
--- a/cubicweb_seda/views/widgets.py
+++ b/cubicweb_seda/views/widgets.py
@@ -201,11 +201,11 @@ class ConceptAutoCompleteWidget(fw.TextI
             value = concept.label()
             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