Fixed the create sessions modal bug where the modal backdrop would not dissappear

Thanks Charlie,

Your right, I will do more thorough research to find the error that is
causing the backdrop to remain on and fix it.


On Sun, Sep 21, 2014 at 10:48 PM, Charlie DeTar <notifications@github.com>
wrote:

> In public/js/event-views.js:
>
> > @@ -388,6 +388,7 @@ views.DialogView = Backbone.Marionette.Layout.extend({
> >          $(".yt-error, .url-error, .join-cap-error", scope).hide();
> >          $(".error", scope).removeClass(".error");
> >          scope.modal('hide');
> > +        $(".modal-backdrop").remove();
>
> This should not have to be done -- and it's dangerous. Just removing the
> modal backdrop ignores several other changes to the document that modals do
> (including removing scrollbars, etc). If "scope.modal('hide')" is not doing
> the right thing, there's a bug somewhere else that needs to be fixed.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/drewww/unhangout/pull/342/files#r17831008>.
>