version 0.2.2
This commit is contained in:
@@ -81,11 +81,17 @@ NPGClient.SocketIO = {
|
||||
self.isConnected = false;
|
||||
});
|
||||
|
||||
// 'serverInfosUpdate'
|
||||
self.socket.on('serverInfosUpdate', function(data) {
|
||||
NPGClient.Utils.log(' > Server infos update. ' + data);
|
||||
NPGClient.SERVER.updateInfos(data);
|
||||
NPGClient.PageHandler.updateServerInfos();
|
||||
});
|
||||
|
||||
// 'regDone'
|
||||
self.socket.on('regDone', function() {
|
||||
NPGClient.Utils.log(' > Server: User registration done');
|
||||
//NPGClient.PageHandler.moveToPage(NPGClient.STARTMENU.NAME);
|
||||
NPGClient.PageHandler.setCurrPage(NPGClient.STARTMENU.NAME);
|
||||
NPGClient.PageHandler.setCurrPage(NPGClient.STARTMENU.NAME);
|
||||
});
|
||||
|
||||
// 'regNameTaken'
|
||||
|
||||
Reference in New Issue
Block a user