diff options
author | Andrew Dolgov <[email protected]> | 2013-03-18 16:44:23 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-18 16:44:23 +0400 |
commit | 478d406767e42b56a140f229fd8676c03ba5afe1 (patch) | |
tree | ba99c80fd91698c2893d9c4be8b7a2d0462dae9b /js/functions.js | |
parent | 11191fdba1e7e986b8c144394943e44ccac053f0 (diff) |
make sure reset password notification does not hide automatically; add manual close link to persistent notifications (closes #569)
Diffstat (limited to 'js/functions.js')
-rw-r--r-- | js/functions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js index e00690c1c..be78294df 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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) { |