summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-03-04 18:11:42 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-03-04 18:11:42 +0100
commit49b7fc107aee37286ae59d03a59874c088ef5599 (patch)
treea9caca570a3e25f9e9e980cead742c45193f8517 /core
parente2642129a18be54ce039ba96e89d160c45ff8b9f (diff)
downloadnextcloud-server-49b7fc107aee37286ae59d03a59874c088ef5599.tar.gz
nextcloud-server-49b7fc107aee37286ae59d03a59874c088ef5599.zip
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
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialoglinkshareview.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index 5b464ee9323..1d158ccec16 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -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);