diff --git a/3rdparty b/3rdparty index eeffe4706df60..62a762f43a89f 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit eeffe4706df60c703453adde9f2fbd3d3da593f4 +Subproject commit 62a762f43a89f0959f3c9c2a412fc1fa0ee7b210 diff --git a/apps/settings/js/admin.js b/apps/settings/js/admin.js index dfe9b8cabadca..958f0f766b52f 100644 --- a/apps/settings/js/admin.js +++ b/apps/settings/js/admin.js @@ -84,6 +84,11 @@ $(document).ready(function(){ $('#shareapiDefaultExpireDate').change(function() { $("#setDefaultExpireDate").toggleClass('hidden', !this.checked); + var expire_field = $('#shareapiExpireAfterNDays') + if(this.checked && expire_field.val() === '') { + expire_field.val(7) + expire_field.trigger('change') + } }); $('#shareapiDefaultInternalExpireDate').change(function() {