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 Morris Jobke
parent c021b5bfc6
commit 37bb7e0671
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
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');