Merge pull request #15121 from owncloud/email-sent-unbold
unbold share email sent notification
This commit is contained in:
commit
10eeb35167
|
@ -1189,10 +1189,10 @@ $(document).ready(function() {
|
||||||
$('#email').prop('disabled', false);
|
$('#email').prop('disabled', false);
|
||||||
$('#emailButton').prop('disabled', false);
|
$('#emailButton').prop('disabled', false);
|
||||||
if (result && result.status == 'success') {
|
if (result && result.status == 'success') {
|
||||||
$('#email').css('font-weight', 'bold');
|
$('#email').css('font-weight', 'bold').val(t('core','Email sent'));
|
||||||
$('#email').animate({ fontWeight: 'normal' }, 2000, function() {
|
setTimeout(function() {
|
||||||
$(this).val('');
|
$('#email').css('font-weight', 'normal').val('');
|
||||||
}).val(t('core','Email sent'));
|
}, 2000);
|
||||||
} else {
|
} else {
|
||||||
OC.dialogs.alert(result.data.message, t('core', 'Error while sharing'));
|
OC.dialogs.alert(result.data.message, t('core', 'Error while sharing'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue