make sure reset password notification does not hide automatically; add manual close link to persistent notifications (closes #569)
This commit is contained in:
parent
11191fdba1
commit
478d406767
|
@ -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);
|
||||
} });
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue