From caf97b8e3b70ccf6d8ccfc4f1bc759e9e976a63c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 25 Nov 2015 10:42:12 +0100 Subject: [PATCH] Fixed closing of new modal api. --- app/assets/javascripts/app/lib/app_post/websocket.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_post/websocket.coffee b/app/assets/javascripts/app/lib/app_post/websocket.coffee index c86193070..ec25346cb 100644 --- a/app/assets/javascripts/app/lib/app_post/websocket.coffee +++ b/app/assets/javascripts/app/lib/app_post/websocket.coffee @@ -203,7 +203,7 @@ class _webSocketSingleton extends App.Controller # close error message show up (because try so connect again) if exists App.Delay.clear('websocket-no-connection-try-reconnect-message', 'ws') if @error - @error.hide() + @error.close() @error = false @tryToConnect = false