summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-03-04 18:11:42 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-03-08 09:00:37 +0100
commit859303164e79f9b550cd2777289578caedc1f98d (patch)
tree1edac635ec328f17d7cb4ef0be91d36ceefa9fc1 /core/js
parent9232a124e22e65dbdb36e6b103bf6791e04cb140 (diff)
downloadnextcloud-server-859303164e79f9b550cd2777289578caedc1f98d.tar.gz
nextcloud-server-859303164e79f9b550cd2777289578caedc1f98d.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/js')
-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);