[saem-devel] [PATCH saem] [views] Fix call to relationwidget.bootstrap_dialog

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Feb 22 10:28:47 CET 2017


CI: https://jenkins.logilab.org/job/cubicweb-saem_ref/88/


Le 22/02/2017 à 10:27, Sylvain Thenault a écrit :
> # HG changeset patch
> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
> # Date 1487754164 -3600
> #      Wed Feb 22 10:02:44 2017 +0100
> # Node ID 7bff1ed3e4af73b3635a281c13e5edf631808efc
> # Parent  6caab7efc2ad7209daca92f2ae36122eeaab9544
> [views] Fix call to relationwidget.bootstrap_dialog
>
> No more useless 'title' argument. Breakage introduced in 364e8f577d67.
>
> Closes extranet #14910419
>
> diff --git a/cubicweb_saem_ref/views/org.py b/cubicweb_saem_ref/views/org.py
> --- a/cubicweb_saem_ref/views/org.py
> +++ b/cubicweb_saem_ref/views/org.py
> @@ -180,11 +180,11 @@ class LinkedObjectsTab(SubviewsTabView):
>                       % self._cw.__(etype + '_plural').lower())
>              validate = js.saem.buildRelationValidate(entity.eid, rtype, role, self.__regid__)
>              url = configure_relation_widget(self._cw, divid, search_url, title, True, validate)
>              links.append(tags.a(self._cw._(etype), href=url, klass=''))
>          if links:
> -            rwdg.bootstrap_dialog(self.w, self._cw._, divid, u'')
> +            rwdg.bootstrap_dialog(self.w, self._cw._, divid)
>              self.w(tags.div(id=divid, style='display: none'))
>              self.w(dropdown_button(self._cw._('add'), links))
>              self.w(tags.div(klass='clearfix'))
>  
>  
> _______________________________________________
> saem-devel mailing list
> saem-devel at lists.cubicweb.org
> http://lists.cubicweb.org/mailman/listinfo/saem-devel

-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the saem-devel mailing list