mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:35:57 +00:00
make sure reset password notification does not hide automatically; add manual close link to persistent notifications (closes #569)
This commit is contained in:
@@ -212,6 +212,11 @@ function notify_real(msg, no_hide, n_type) {
|
||||
|
||||
// msg = "<img src='images/live_com_loading.gif'> " + msg;
|
||||
|
||||
if (no_hide) {
|
||||
msg += " (<a href='#' onclick=\"notify('')\">X</a>)";
|
||||
}
|
||||
|
||||
|
||||
nb.innerHTML = msg;
|
||||
|
||||
if (!no_hide) {
|
||||
|
||||
@@ -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);
|
||||
} });
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user