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
2 changed files with 6 additions and 1 deletions
|
@ -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 a new issue