Reset sharedialog values
This commit is contained in:
parent
f32d97750c
commit
c456f5dee1
1 changed files with 4 additions and 0 deletions
|
@ -982,6 +982,10 @@ $(document).ready(function() {
|
|||
}
|
||||
|
||||
if (this.checked) {
|
||||
// Reset password placeholder
|
||||
$('#linkPassText').attr('placeholder', t('core', 'Choose a password for the public link'));
|
||||
// Reset link
|
||||
$('#linkText').val('');
|
||||
var expireDateString = '';
|
||||
if (oc_appconfig.core.defaultExpireDateEnabled) {
|
||||
var date = new Date().getTime();
|
||||
|
|
Loading…
Reference in a new issue