summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/core.js')
-rw-r--r--addons/web/static/src/js/core.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js
index e3a32342af7..1962cc440c7 100644
--- a/addons/web/static/src/js/core.js
+++ b/addons/web/static/src/js/core.js
@@ -986,21 +986,6 @@ openerp.web.Widget = openerp.web.CallbackEnabled.extend(/** @lends openerp.web.W
return false;
},
- do_push_state: function(state) {
- // create a new state
- if (this.widget_parent) {
- return this.widget_parent.do_push_state.apply(this,arguments);
- }
- //this.on_state_change(state);
- return null;
- },
-
- on_state_change: function(state) {
- _.each(this.widget_children, function(child) {
- child.on_state_change(state);
- });
- },
-
rpc: function(url, data, success, error) {
var def = $.Deferred().then(success, error);
var self = this;