summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-27 22:24:26 +0400
committerAndrew Dolgov <[email protected]>2013-03-27 22:24:26 +0400
commit919984a43644da47a978b8ddd6d07be7273f6366 (patch)
treebc64d6f24df9b4baa47949e2244e59c996e3ee1d /js/functions.js
parent6deafe90dbe26c9d5d47c2776a11564acc9a6f5c (diff)
css cleanup; change notify css a bit
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js17
1 files changed, 8 insertions, 9 deletions
diff --git a/js/functions.js b/js/functions.js
index e93ca54e0..ec170a7d9 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -194,30 +194,29 @@ function notify_real(msg, no_hide, n_type) {
*/
- if (typeof __ != 'undefined') {
- msg = __(msg);
- }
+ msg = __(msg);
if (n_type == 1) {
n.className = "notify";
} else if (n_type == 2) {
- n.className = "notifyProgress";
+ n.className = "notify progress";
msg = "<img src='images/indicator_white.gif'> " + msg;
} else if (n_type == 3) {
- n.className = "notifyError";
+ n.className = "notify error";
msg = "<img src='images/sign_excl.svg'> " + msg;
} else if (n_type == 4) {
- n.className = "notifyInfo";
+ n.className = "notify info";
msg = "<img src='images/sign_info.svg'> " + msg;
}
-// msg = "<img src='images/live_com_loading.gif'> " + msg;
-
if (no_hide) {
- msg += " (<a href='#' onclick=\"notify('')\">X</a>)";
+ msg += " <span>(<a href='#' onclick=\"notify('')\">" +
+ __("close") + "</a>)</span>";
}
+// msg = "<img src='images/live_com_loading.gif'> " + msg;
+
nb.innerHTML = msg;
if (!no_hide) {