mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Update error text for link passwords
* this removes the old tooltip first before showing the new one to update the text - otherwise the old text will be shown
This commit is contained in:
parent
e2642129a1
commit
49b7fc107a
1 changed files with 2 additions and 0 deletions
|
|
@ -193,6 +193,8 @@
|
|||
password: password
|
||||
}, {
|
||||
error: function(model, msg) {
|
||||
// destroy old tooltips
|
||||
$input.tooltip('destroy');
|
||||
$loading.removeClass('inlineblock').addClass('hidden');
|
||||
$input.addClass('error');
|
||||
$input.attr('title', msg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue