snackbar translation for acp

v1.18.x
psychobunny 10 years ago
parent 643abb6926
commit 80b13c94c8

@ -105,8 +105,9 @@
} }
function launchSnackbar(params) { function launchSnackbar(params) {
translator.translate("<strong>" + params.title + "</strong>" + params.message, function(html) {
var bar = $.snackbar({ var bar = $.snackbar({
content: "<strong>" + params.title + "</strong>" + params.message, content: html,
timeout: 3000, timeout: 3000,
htmlAllowed: true htmlAllowed: true
}); });
@ -114,6 +115,7 @@
if (params.clickfn) { if (params.clickfn) {
bar.on('click', params.clickfn); bar.on('click', params.clickfn);
} }
});
} }
function configureSlidemenu() { function configureSlidemenu() {

Loading…
Cancel
Save