Reset sharedialog values

This commit is contained in:
Roeland Jago Douma 2015-04-14 15:13:46 +02:00
parent f32d97750c
commit c456f5dee1

View file

@ -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();