summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
-rw-r--r--addons/web/static/src/js/views/basic/basic_controller.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/addons/web/static/src/js/views/basic/basic_controller.js b/addons/web/static/src/js/views/basic/basic_controller.js
index 0849cf5508d..ec7255b9e60 100644
--- a/addons/web/static/src/js/views/basic/basic_controller.js
+++ b/addons/web/static/src/js/views/basic/basic_controller.js
@@ -134,12 +134,6 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
return [];
},
/**
- * Gives the focus to the renderer
- */
- giveFocus:function() {
- this.renderer.giveFocus();
- },
- /**
* Returns true iff the given recordID (or the main recordID) is dirty.
*
* @param {string} [recordID] - default to main recordID
@@ -761,7 +755,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
await this.model.resequence(this.modelName, resIDs, this.handle, options);
this._updateControlPanel();
state = this.model.get(this.handle);
- return this.renderer.updateState(state, { noRender: true });
+ return this._updateRendererState(state, { noRender: true });
},
});
},