Fixed closing of new modal api.

This commit is contained in:
Martin Edenhofer 2015-11-25 10:42:12 +01:00
parent 6c42e43bd7
commit caf97b8e3b

View file

@ -203,7 +203,7 @@ class _webSocketSingleton extends App.Controller
# close error message show up (because try so connect again) if exists # close error message show up (because try so connect again) if exists
App.Delay.clear('websocket-no-connection-try-reconnect-message', 'ws') App.Delay.clear('websocket-no-connection-try-reconnect-message', 'ws')
if @error if @error
@error.hide() @error.close()
@error = false @error = false
@tryToConnect = false @tryToConnect = false