Comment 5 for bug 1582816

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/mitaka)

Reviewed: https://review.openstack.org/323713
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=94d28df201f8f0838e09f290cd0aaf1512eea81a
Submitter: Jenkins
Branch: stable/mitaka

commit 94d28df201f8f0838e09f290cd0aaf1512eea81a
Author: Kirill Zaitsev <email address hidden>
Date: Tue May 17 19:59:40 2016 +0300

    Add *args, **kwargs to ModalBackdropMixin's init method

    Before this change ModalBackdropMixin called super(...).__init__()
    without arguments. This imposed restrictions on what classes this
    mixin could have been mixed into, i.e. only classes, that do not accept
    any parameters.
    This proved to be a problem for murano-dashboard, since it uses this
    mixin (indirectly through ModalFormMixin) and mixes it into a class,
    that accepts parameters to it's init method.
    This change allows to use ModalBackdropMixin with classes that have
    init methods with parameters.

    Change-Id: I6155476738021b784ef7e643c968f1d784b15906
    Closes-Bug: #1582816
    (cherry picked from commit bb1547c8abcc0d0d3dc4a3199e8e8bd1b5527c12)