Add a proper double connect Message
This commit is contained in:
parent
a444e870e0
commit
cc7cc8d884
@ -95,7 +95,7 @@ function handshake()
|
||||
{
|
||||
socket.reconnect = false;
|
||||
socket.disconnect();
|
||||
alert("You have this Pad already opened in another Window/Tab");
|
||||
padconnectionstatus.disconnected("userdup");
|
||||
return;
|
||||
}
|
||||
//yeah, the clientVars are here :). So we can start initalizing the Pad
|
||||
|
@ -43,6 +43,10 @@ var padconnectionstatus = (function() {
|
||||
var cls = 'modaldialog cboxdisconnected cboxdisconnected_'+k;
|
||||
$("#connectionbox").get(0).className = cls;
|
||||
padmodals.showModal("#connectionbox", 500);
|
||||
|
||||
$('button#forcereconnect').click(function() {
|
||||
window.location.reload();
|
||||
});
|
||||
},
|
||||
isFullyConnected: function() {
|
||||
return status.what == 'connected';
|
||||
|
Loading…
x
Reference in New Issue
Block a user