Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-03-04 20:11:42 +0300
committerMorris Jobke <hey@morrisjobke.de>2016-03-08 11:00:37 +0300
commit859303164e79f9b550cd2777289578caedc1f98d (patch)
tree1edac635ec328f17d7cb4ef0be91d36ceefa9fc1 /core
parent9232a124e22e65dbdb36e6b103bf6791e04cb140 (diff)
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);