Merge pull request #6213 from owncloud/fix-full-name-edit
Fix full name edit for repetitive edit
This commit is contained in:
commit
db0b291f63
|
@ -423,7 +423,10 @@ $(document).ready(function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
input.blur(function () {
|
input.blur(function () {
|
||||||
$(this).replaceWith(escapeHTML($(this).val()));
|
var input = $(this),
|
||||||
|
displayName = input.val();
|
||||||
|
input.closest('tr').attr('data-displayName', displayName);
|
||||||
|
input.replaceWith('<span>' + escapeHTML(displayName) + '</span>');
|
||||||
img.css('display', '');
|
img.css('display', '');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue