From 859303164e79f9b550cd2777289578caedc1f98d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 4 Mar 2016 18:11:42 +0100 Subject: [PATCH] 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 --- core/js/sharedialoglinkshareview.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 5b464ee932..1d158ccec1 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);