Handle project destruct
This commit is contained in:
@@ -96,6 +96,12 @@ application.factory(
|
||||
if( typeof update_callback === 'function' )
|
||||
update_callback.apply( this, [ data ] );
|
||||
} );
|
||||
|
||||
// Destruct event
|
||||
socket.on( 'destruct', function( data )
|
||||
{
|
||||
alert( 'destruct' );
|
||||
} );
|
||||
};
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user