Skip to content

Commit e2e226d

Browse files
authored
Merge pull request nextcloud#42780 from nextcloud/backport/42126/stable27
[stable27] Tooltip outside click, should abort share creation
2 parents 1b2f311 + db6a041 commit e2e226d

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

apps/files_sharing/src/components/SharingEntryLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
:aria-label="actionsTooltip"
5959
menu-align="right"
6060
:open.sync="open"
61-
@close="onNewLinkShare">
61+
@close="onCancel">
6262
<!-- pending data menu -->
6363
<NcActionText v-if="errors.pending" icon="icon-error" :class="{ error: errors.pending }">
6464
{{ errors.pending }}

apps/files_sharing/src/mixins/SharesMixin.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,9 @@ export default {
221221
*
222222
* @param {Date} date
223223
*/
224-
onExpirationChange(date) {
224+
onExpirationChange: debounce((date) => {
225225
this.share.expireDate = this.formatDateToString(new Date(date))
226-
},
227-
226+
}, 500),
228227
/**
229228
* Uncheck expire date
230229
* We need this method because @update:checked

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)