diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-11-16 10:42:00 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-11-16 10:42:00 +0100 |
| commit | 76cce62c999514b493919f843f5bd45024bb5c1d (patch) | |
| tree | 337efcffefa5e664ddd849764eb6f81ff72d5147 /addons/web/static/src/js/coresetup.js | |
| parent | 898bdf9e9808373c2bd8c9ae2bbe6eda3d262b70 (diff) | |
[IMP] Added feature in the rpc() method to be able to perform a call without triggering the loading messages.
bzr revid: nicolas.vanhoren@openerp.com-20121116094200-q4cby6jofcrk87hd
Diffstat (limited to 'addons/web/static/src/js/coresetup.js')
| -rw-r--r-- | addons/web/static/src/js/coresetup.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/coresetup.js b/addons/web/static/src/js/coresetup.js index 7789bb48785..7ddefa301f2 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -22,9 +22,9 @@ instance.web.Session = instance.web.JsonRPC.extend( /** @lends instance.web.Sess this.name = instance._session_id; this.qweb_mutex = new $.Mutex(); }, - rpc: function(url, params) { + rpc: function(url, params, options) { params.session_id = this.session_id; - return this._super(url, params); + return this._super(url, params, options); }, /** * Setup a sessionm |
