From 658d0ff7d9df4ac54b2840f982b2f585721db932 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 5 Aug 2013 02:03:58 +0200 Subject: [PATCH] Fixed bind for modal on hide. --- .../app/controllers/_application_controller.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller.js.coffee b/app/assets/javascripts/app/controllers/_application_controller.js.coffee index b44c2ef96..5f25780fa 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.js.coffee @@ -473,7 +473,7 @@ class App.ControllerModal extends App.Controller data = $.extend({}, defaults, params) @el.modal(data) - @el.bind('hidden', => + @el.bind('hidden.bs.modal', => # navigate back to home page # if @pageData && @pageData.home