Merge pull request #14212 from nextcloud/backport/14035/stable15

[stable15] Fix expiration date changing
This commit is contained in:
Roeland Jago Douma 2019-02-15 09:53:45 +01:00 committed by GitHub
commit 990be3b2be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');