diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-09-30 17:18:06 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-09-30 17:18:06 +0200 |
| commit | 0aeb750b95aa8fc7fbd144687428d2e63dc45529 (patch) | |
| tree | 403bee2625c7c2c37ce93c11582cfe1500b67800 /addons/web/static/src/js/data.js | |
| parent | c5bcb0e53f5414f7692ea2f57f2bacf5d009bd3f (diff) | |
| parent | bd56a25475fe9b575d92ee8dfed2ed7fe31e9842 (diff) | |
[MERGE] callback2deferred dataset.call_and_eval
bzr revid: al@openerp.com-20120930151806-ss1cbv2qg0vemf1z
Diffstat (limited to 'addons/web/static/src/js/data.js')
| -rw-r--r-- | addons/web/static/src/js/data.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js index 894bb4857b4..f1f8532821f 100644 --- a/addons/web/static/src/js/data.js +++ b/addons/web/static/src/js/data.js @@ -688,14 +688,14 @@ instance.web.DataSet = instance.web.CallbackEnabled.extend({ * @param {Function} error_callback * @returns {$.Deferred} */ - call_and_eval: function (method, args, domain_index, context_index, callback, error_callback) { + call_and_eval: function (method, args, domain_index, context_index) { return instance.session.rpc('/web/dataset/call', { model: this.model, method: method, domain_id: domain_index == undefined ? null : domain_index, context_id: context_index == undefined ? null : context_index, args: args || [] - }, callback, error_callback); + }); }, /** * Calls a button method, usually returning some sort of action |
