diff options
author | Andrey Dyakov <adduxa@users.noreply.github.com> | 2019-02-05 20:12:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 20:12:16 +0300 |
commit | f5102265f90fcf91fcb5f09b96ba9070a3fd1311 (patch) | |
tree | c733045bcbbf8b1e0fa38344adb5f6621fa18675 | |
parent | 1ceddc1cc2b9a3757118830c3f92d80932fd77ef (diff) | |
download | nextcloud-server-f5102265f90fcf91fcb5f09b96ba9070a3fd1311.tar.gz nextcloud-server-f5102265f90fcf91fcb5f09b96ba9070a3fd1311.zip |
Fix expiration date changing
Pass shareId to setExpirationDate()
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 2 |
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'); |