diff options
-rw-r--r-- | js/functions.js | 5 | ||||
-rw-r--r-- | js/prefs.js | 2 |
2 files changed, 6 insertions, 1 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) { diff --git a/js/prefs.js b/js/prefs.js index 676fb914a..e6257e1fb 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); } }); } |