Merge pull request #22146 from owncloud/delete-email-address
Allow to delete the email address in user management
This commit is contained in:
commit
7dde2c773f
|
@ -732,7 +732,6 @@ $(document).ready(function () {
|
||||||
.focus()
|
.focus()
|
||||||
.keypress(function (event) {
|
.keypress(function (event) {
|
||||||
if (event.keyCode === 13) {
|
if (event.keyCode === 13) {
|
||||||
if ($(this).val().length > 0) {
|
|
||||||
$tr.data('mailAddress', $input.val());
|
$tr.data('mailAddress', $input.val());
|
||||||
$input.blur();
|
$input.blur();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
@ -747,9 +746,6 @@ $(document).ready(function () {
|
||||||
$tr.data('mailAddress', mailAddress);
|
$tr.data('mailAddress', mailAddress);
|
||||||
$tr.children('.mailAddress').children('span').text(mailAddress);
|
$tr.children('.mailAddress').children('span').text(mailAddress);
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
$input.blur();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.blur(function () {
|
.blur(function () {
|
||||||
|
|
Loading…
Reference in New Issue