|
|
@ -147,6 +147,7 @@ app.cacheBuster = null;
|
|
|
|
|
|
|
|
|
|
|
|
app.alertSuccess = function (message, timeout) {
|
|
|
|
app.alertSuccess = function (message, timeout) {
|
|
|
|
app.alert({
|
|
|
|
app.alert({
|
|
|
|
|
|
|
|
alert_id: utils.generateUUID(),
|
|
|
|
title: '[[global:alert.success]]',
|
|
|
|
title: '[[global:alert.success]]',
|
|
|
|
message: message,
|
|
|
|
message: message,
|
|
|
|
type: 'success',
|
|
|
|
type: 'success',
|
|
|
@ -163,6 +164,7 @@ app.cacheBuster = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
app.alert({
|
|
|
|
app.alert({
|
|
|
|
|
|
|
|
alert_id: utils.generateUUID(),
|
|
|
|
title: '[[global:alert.error]]',
|
|
|
|
title: '[[global:alert.error]]',
|
|
|
|
message: message,
|
|
|
|
message: message,
|
|
|
|
type: 'danger',
|
|
|
|
type: 'danger',
|
|
|
|