mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Tweak alert settings
This commit is contained in:
parent
8262e40942
commit
263c34c04f
@ -90,12 +90,12 @@
|
|||||||
function sweetConfirm(success, text, title) {
|
function sweetConfirm(success, text, title) {
|
||||||
title = title || "{!! trans("texts.are_you_sure") !!}";
|
title = title || "{!! trans("texts.are_you_sure") !!}";
|
||||||
swal({
|
swal({
|
||||||
type: "warning",
|
//type: "warning",
|
||||||
|
//confirmButtonColor: "#DD6B55",
|
||||||
title: title,
|
title: title,
|
||||||
text: text,
|
text: text,
|
||||||
cancelButtonText: "{!! trans("texts.no") !!}",
|
cancelButtonText: "{!! trans("texts.no") !!}",
|
||||||
confirmButtonText: "{!! trans("texts.yes") !!}",
|
confirmButtonText: "{!! trans("texts.yes") !!}",
|
||||||
confirmButtonColor: "#DD6B55",
|
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
closeOnConfirm: false
|
closeOnConfirm: false
|
||||||
}, function() {
|
}, function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user