Fix expiration date changing

Pass shareId to setExpirationDate()
This commit is contained in:
Andrey Dyakov 2019-02-05 20:12:16 +03:00 committed by GitHub
parent 1ceddc1cc2
commit f5102265f9
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');