summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/sharedialoglinkshareview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index ff5616f69b6..e93720224e3 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -757,7 +757,7 @@
// disabled, let's hide the input and
// set the expireDate to nothing
$element.closest('li').next('li').addClass('hidden');
- this.setExpirationDate('');
+ this.setExpirationDate('', shareId);
} else {
// enabled, show the input and the datepicker
$element.closest('li').next('li').removeClass('hidden');