|
|
@@ -540,6 +540,9 @@ export default (Document = (function() {
|
|
|
if (callback == null) {
|
|
|
callback = function(error) {}
|
|
|
}
|
|
|
+ this.ide.pushEvent('leaveDoc', {
|
|
|
+ doc_id: this.doc_id
|
|
|
+ })
|
|
|
sl_console.log('[_leaveDoc] Sending leaveDoc request')
|
|
|
return this.ide.socket.emit('leaveDoc', this.doc_id, error => {
|
|
|
if (error != null) {
|