Fixed bind for modal on hide.

This commit is contained in:
Martin Edenhofer 2013-08-05 02:03:58 +02:00
parent 22555b9cb2
commit 658d0ff7d9

View file

@ -473,7 +473,7 @@ class App.ControllerModal extends App.Controller
data = $.extend({}, defaults, params) data = $.extend({}, defaults, params)
@el.modal(data) @el.modal(data)
@el.bind('hidden', => @el.bind('hidden.bs.modal', =>
# navigate back to home page # navigate back to home page
# if @pageData && @pageData.home # if @pageData && @pageData.home