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