From f5102265f90fcf91fcb5f09b96ba9070a3fd1311 Mon Sep 17 00:00:00 2001 From: Andrey Dyakov Date: Tue, 5 Feb 2019 20:12:16 +0300 Subject: [PATCH] Fix expiration date changing Pass shareId to setExpirationDate() --- core/js/sharedialoglinkshareview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index ff5616f69b..e93720224e 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');