diff --git a/addons/nuxeo-csv/elements/nuxeo-document-import-csv.js b/addons/nuxeo-csv/elements/nuxeo-document-import-csv.js
index beb8e5ae1d..67d312373a 100644
--- a/addons/nuxeo-csv/elements/nuxeo-document-import-csv.js
+++ b/addons/nuxeo-csv/elements/nuxeo-document-import-csv.js
@@ -276,7 +276,7 @@ Polymer({
@@ -581,7 +581,8 @@ Polymer({
}
},
- _showUploadDialog() {
+ _showUploadDialog(e) {
+ e.preventDefault();
this.$.uploadFiles.click();
},
diff --git a/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-box-link.js b/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-box-link.js
index 8802d63579..19ed50997c 100644
--- a/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-box-link.js
+++ b/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-box-link.js
@@ -64,7 +64,7 @@ Polymer({
is-available="{{isProviderAvailable}}"
>
-
+
[[i18n('liveconnectImportActions.box', 'Box')]]
@@ -78,7 +78,8 @@ Polymer({
this.$.provider.updateProviderInfo();
},
- _openPicker() {
+ _openPicker(e) {
+ e.preventDefault();
this.$.provider.openPicker();
},
});
diff --git a/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-google-drive-link.js b/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-google-drive-link.js
index efbc2d8b24..5f342a0c9b 100644
--- a/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-google-drive-link.js
+++ b/addons/nuxeo-liveconnect/elements/nuxeo-liveconnect-google-drive-link.js
@@ -64,7 +64,7 @@ Polymer({
is-available="{{isProviderAvailable}}"
>
-
+
[[i18n('liveconnectImportActions.googledrive', 'Google Drive')]]
@@ -78,7 +78,8 @@ Polymer({
this.$.provider.updateProviderInfo();
},
- _openPicker() {
+ _openPicker(e) {
+ e.preventDefault();
this.$.provider.openPicker();
},
});
diff --git a/elements/nuxeo-selection/nuxeo-selection-toolbar.js b/elements/nuxeo-selection/nuxeo-selection-toolbar.js
index f941faeecc..c686f2b58a 100644
--- a/elements/nuxeo-selection/nuxeo-selection-toolbar.js
+++ b/elements/nuxeo-selection/nuxeo-selection-toolbar.js
@@ -112,7 +112,7 @@ Polymer({
[[i18n('selectionToolbar.selected.items', selectedItems.length)]]
-
+
[[i18n('selectionToolbar.display.selection')]]
@@ -121,7 +121,7 @@ Polymer({
[[i18n('selectionToolbar.selected.all', _resultsCount)]]
-
+
[[i18n('command.clear')]]
@@ -188,11 +188,13 @@ Polymer({
this.hidden = !this.selectedItems || this.selectedItems.length === 0;
},
- toogleSelectedItemsPopup() {
+ toogleSelectedItemsPopup(e) {
+ e.preventDefault();
this.$$('#selectedItemsPopup').toggle();
},
- clearSelection() {
+ clearSelection(e) {
+ e.preventDefault();
this.fire('clear-selected-items');
},
});
diff --git a/elements/workflow/nuxeo-document-task.js b/elements/workflow/nuxeo-document-task.js
index 139fe72f40..28a6e35a20 100644
--- a/elements/workflow/nuxeo-document-task.js
+++ b/elements/workflow/nuxeo-document-task.js
@@ -158,7 +158,7 @@ Polymer({
- [[i18n('tasks.viewGraph')]]
+ [[i18n('tasks.viewGraph')]]
[[i18n(tasks.directive)]]
@@ -314,7 +314,8 @@ Polymer({
.finally(() => this._setProcessing(false));
},
- _toggleGraphDialog() {
+ _toggleGraphDialog(e) {
+ e.preventDefault();
this.$.graph.show();
},
diff --git a/index.html b/index.html
index 71e4bd7359..d5847863ac 100644
--- a/index.html
+++ b/index.html
@@ -89,6 +89,10 @@
+
-
+
-
+
-
+
-
+
-
+