Fix expiration date changing
Pass shareId to setExpirationDate()
This commit is contained in:
parent
c021b5bfc6
commit
37bb7e0671
|
@ -757,7 +757,7 @@
|
||||||
// disabled, let's hide the input and
|
// disabled, let's hide the input and
|
||||||
// set the expireDate to nothing
|
// set the expireDate to nothing
|
||||||
$element.closest('li').next('li').addClass('hidden');
|
$element.closest('li').next('li').addClass('hidden');
|
||||||
this.setExpirationDate('');
|
this.setExpirationDate('', shareId);
|
||||||
} else {
|
} else {
|
||||||
// enabled, show the input and the datepicker
|
// enabled, show the input and the datepicker
|
||||||
$element.closest('li').next('li').removeClass('hidden');
|
$element.closest('li').next('li').removeClass('hidden');
|
||||||
|
|
Loading…
Reference in New Issue