v1.18.x
psychobunny 10 years ago
parent d0cd73f663
commit b6a43fb5cf

@ -105,7 +105,9 @@
} }
function launchSnackbar(params) { function launchSnackbar(params) {
translator.translate("<strong>" + params.title + "</strong>" + params.message, function(html) { var message = (params.title ? "<strong>" + params.title + "</strong>" : '') + (params.message ? params.message : '');
translator.translate(message, function(html) {
var bar = $.snackbar({ var bar = $.snackbar({
content: html, content: html,
timeout: 3000, timeout: 3000,

Loading…
Cancel
Save