From a72d68a4fe5912504afa48e8573c88144a878c8a Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Thu, 19 May 2011 22:27:17 +0100 Subject: [PATCH] 'Reconnect Now' does now a proper reconnect --- static/js/pad_connectionstatus.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pad_connectionstatus.js b/static/js/pad_connectionstatus.js index df38e1dff..93675e328 100644 --- a/static/js/pad_connectionstatus.js +++ b/static/js/pad_connectionstatus.js @@ -21,7 +21,7 @@ var padconnectionstatus = (function() { var self = { init: function() { $('button#forcereconnect').click(function() { - pad.forceReconnect(); + window.location.reload(); }); }, connected: function() { @@ -50,4 +50,4 @@ var padconnectionstatus = (function() { getStatus: function() { return status; } }; return self; -}()); \ No newline at end of file +}());