Skip to content

Commit

Permalink
[IMP] cmis_web_proxy - Remove an old unused function getPreviewUrlPar…
Browse files Browse the repository at this point in the history
…ams()
  • Loading branch information
FrancoMaxime committed Jan 2, 2024
1 parent 44aa388 commit 12f4342
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions cmis_web_proxy/static/src/cmis_folder/cmis_folder.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ patch(CmisFolderField.prototype, "open_with_proxy", {
self.setCmisSessionToken();
this._super(...arguments);
},

getPreviewUrlParams() {
// Pas sur de l'utilité de la méthode je n'ia trouvé aucun appel à cette fonction
var params = this._super(...arguments);
if (this.backend.apply_odoo_security) {
// Add the token as parameter and into the http headers
var token = this.genCmisSessionToken();
params.token = token;
}
return params;
},
});

CmisFolderField.props.backend[0].shape.apply_odoo_security = Boolean;

0 comments on commit 12f4342

Please sign in to comment.