[FIX] allow users to not connect
bzr revid: chs@openerp.com-20111216142653-kjernr0c6sr6h0h2
This commit is contained in:
@@ -385,6 +385,14 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
|
||||
this.ready = $.Deferred();
|
||||
return this.session_init();
|
||||
},
|
||||
|
||||
/**
|
||||
* Called when a rpc call fail due to an invalid session.
|
||||
* By default, it's a noop
|
||||
*/
|
||||
on_session_invalid: function(retry_callback) {
|
||||
},
|
||||
|
||||
/**
|
||||
* Executes an RPC call, registering the provided callbacks.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user