Skip to content

Commit

Permalink
Merge "Fix issue with some modals are missing backdrop"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed May 17, 2016
2 parents ee98b44 + f195fea commit 4c33d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horizon/forms/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_context_data(self, **kwargs):
return context


class ModalFormMixin(object):
class ModalFormMixin(ModalBackdropMixin):
def get_template_names(self):
if self.request.is_ajax():
if not hasattr(self, "ajax_template_name"):
Expand All @@ -77,7 +77,7 @@ def get_context_data(self, **kwargs):
return context


class ModalFormView(ModalBackdropMixin, ModalFormMixin, views.HorizonFormView):
class ModalFormView(ModalFormMixin, views.HorizonFormView):
"""The main view class from which all views which handle forms in Horizon
should inherit. It takes care of all details with processing
:class:`~horizon.forms.base.SelfHandlingForm` classes, and modal concerns
Expand Down

0 comments on commit 4c33d2d

Please sign in to comment.