diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 8dd7b67cdbd..0f83dac952e 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -132,7 +132,7 @@ export class Wysiwyg extends Component { }), } imageCropProps = useState({ - rpc: this._rpc.bind(this), + rpc: this._serviceRpc.bind(this), showCount: 0, media: undefined, mimetype: undefined, @@ -3505,9 +3505,6 @@ export class Wysiwyg extends Component { xhr: settings.xhr, }); } - _rpc({ route, params }) { - return this._serviceRpc(route, params) - } } Wysiwyg.activeCollaborationChannelNames = new Set(); Wysiwyg.activeWysiwygs = new Set();