aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js1
-rwxr-xr-xview/tpl/js_strings.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 17ef578be..fa32df424 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -341,6 +341,7 @@
if(data.all_events_today == 0) { data.all_events_today = ''; $('.all_events-today-update').removeClass('show') } else { $('.all_events-today-update').addClass('show') }
$('.all_events-today-update').html(data.all_events_today);
+ $.jGrowl.defaults.closerTemplate = '<div>[ ' + aStr['closeAll'] + ']</div>';
$(data.notice).each(function() {
$.jGrowl(this.message, { sticky: true, theme: 'notice' });
diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl
index cac5be65b..515e3107f 100755
--- a/view/tpl/js_strings.tpl
+++ b/view/tpl/js_strings.tpl
@@ -14,6 +14,7 @@
'passphrase' : "{{$passphrase}}",
'passhint' : "{{$passhint}}",
'permschange' : "{{$permschange}}",
+ 'closeAll' : "{{$closeAll}}",
't01' : "{{$t01}}",
't02' : "{{$t02}}",