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:06:12 +0100 |
commit | 9cd2ef6e8aba8dc76d530a1e420e33910463798e (patch) | |
tree | 23560837fc42ccf1461f049eee7cd674a15dcf19 /core/js | |
parent | c51ae5f8ee26c2d1440ed64eee9c48bfd6987e2d (diff) | |
download | nextcloud-server-9cd2ef6e8aba8dc76d530a1e420e33910463798e.tar.gz nextcloud-server-9cd2ef6e8aba8dc76d530a1e420e33910463798e.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 452599fb7f2..cfe7402c44b 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -192,6 +192,8 @@ this.model.setPassword(password); this.model.saveLinkShare({}, { error: function(model, msg) { + // destroy old tooltips + $input.tooltip('destroy'); $loading.removeClass('inlineblock').addClass('hidden'); $input.addClass('error'); $input.attr('title', msg); |