summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrey Dyakov <adduxa@users.noreply.github.com>2019-02-05 20:12:16 +0300
committerMorris Jobke <hey@morrisjobke.de>2019-02-14 21:37:29 +0100
commit37bb7e0671adc7a9dbe1e59f2acb39fdf259d26b (patch)
tree5c15648b761d9fbdcdae694ea0485c34b2ab201b /core
parentc021b5bfc6d090f32655bacf2944d5aee345f79a (diff)
downloadnextcloud-server-37bb7e0671adc7a9dbe1e59f2acb39fdf259d26b.tar.gz
nextcloud-server-37bb7e0671adc7a9dbe1e59f2acb39fdf259d26b.zip
Fix expiration date changing
Pass shareId to setExpirationDate()
Diffstat (limited to 'core')
-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 211d41b3b43..f2ecafc7b68 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');