diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-03-04 18:11:42 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-03-08 09:00:37 +0100 |
commit | 859303164e79f9b550cd2777289578caedc1f98d (patch) | |
tree | 1edac635ec328f17d7cb4ef0be91d36ceefa9fc1 /core/js | |
parent | 9232a124e22e65dbdb36e6b103bf6791e04cb140 (diff) | |
download | nextcloud-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.js | 2 |
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); |