From: Andrew Dolgov Date: Mon, 18 Mar 2013 12:44:23 +0000 (+0400) Subject: make sure reset password notification does not hide automatically; add manual close... X-Git-Tag: 1.7.5~134 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=478d406767e42b56a140f229fd8676c03ba5afe1;p=tt-rss.git make sure reset password notification does not hide automatically; add manual close link to persistent notifications (closes #569) --- diff --git a/js/functions.js b/js/functions.js index e00690c1..be78294d 100644 --- a/js/functions.js +++ b/js/functions.js @@ -212,6 +212,11 @@ function notify_real(msg, no_hide, n_type) { // msg = " " + msg; + if (no_hide) { + msg += " (X)"; + } + + nb.innerHTML = msg; if (!no_hide) { diff --git a/js/prefs.js b/js/prefs.js index 676fb914..e6257e1f 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -547,7 +547,7 @@ function resetSelectedUserPass() { new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) { - notify_info(transport.responseText); + notify_info(transport.responseText, true); } }); }