mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	moved event alert to serverside, now node controls the registration alert. added some transition animation to page changes
This commit is contained in:
		| @@ -65,6 +65,13 @@ var RDB = require('./redis.js'); | ||||
| 				io.sockets.emit('user.latest', {username: username}); | ||||
|  | ||||
| 				global.socket.emit('user.create', {'status': 1}); | ||||
|  | ||||
| 				global.socket.emit('event:alert', { | ||||
| 					title: 'Thank you for registering', | ||||
| 					message: 'You have successfully registered - welcome to nodebb!', | ||||
| 					type: 'notify', | ||||
| 					timeout: 2000 | ||||
| 				}); | ||||
| 			}); | ||||
| 		}); | ||||
| 	}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user