Skip to content

Commit

Permalink
Revert "WEBUI-1580: CSP code fix for nuxeo live connect addon"
Browse files Browse the repository at this point in the history
This reverts commit f257a62.
  • Loading branch information
alokhyland committed Sep 18, 2024
1 parent 12995fc commit ebb91ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Polymer({
is-available="{{isProviderAvailable}}"
></nuxeo-liveconnect-box-provider>
<template is="dom-if" if="[[isProviderAvailable]]">
<a href="#" on-tap="_openPicker">
<a href="javascript:undefined" on-tap="_openPicker">
<iron-icon src="[[importPath]]images/box.png"></iron-icon>
[[i18n('liveconnectImportActions.box', 'Box')]]
</a>
Expand All @@ -78,8 +78,7 @@ Polymer({
this.$.provider.updateProviderInfo();
},

_openPicker(e) {
e.preventDefault();
_openPicker() {
this.$.provider.openPicker();
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Polymer({
is-available="{{isProviderAvailable}}"
></nuxeo-liveconnect-google-drive-provider>
<template is="dom-if" if="[[isProviderAvailable]]">
<a href="#" on-tap="_openPicker">
<a href="javascript:undefined" on-tap="_openPicker">
<iron-icon src="[[importPath]]images/google_drive.png"></iron-icon>
[[i18n('liveconnectImportActions.googledrive', 'Google Drive')]]
</a>
Expand All @@ -78,8 +78,7 @@ Polymer({
this.$.provider.updateProviderInfo();
},

_openPicker(e) {
e.preventDefault();
_openPicker() {
this.$.provider.openPicker();
},
});

0 comments on commit ebb91ca

Please sign in to comment.