v0.2.0 - Start Menu Page base
This commit is contained in:
@@ -84,7 +84,8 @@ NPGClient.SocketIO = {
|
||||
// 'regDone'
|
||||
self.socket.on('regDone', function() {
|
||||
NPGClient.Utils.log(' > Server: User registration done');
|
||||
//NPGClient.PageHandler.moveToPage(NPGClient.LOGIN.NAME);
|
||||
//NPGClient.PageHandler.moveToPage(NPGClient.STARTMENU.NAME);
|
||||
NPGClient.PageHandler.setCurrPage(NPGClient.STARTMENU.NAME);
|
||||
});
|
||||
|
||||
// 'regNameTaken'
|
||||
@@ -93,7 +94,7 @@ NPGClient.SocketIO = {
|
||||
NPGClient.PageHandler.moveToPage(NPGClient.LOGIN.NAME);
|
||||
});
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
// send message to server
|
||||
sendMsg: function(name, data) {
|
||||
|
||||
Reference in New Issue
Block a user