1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Tweak alert settings

This commit is contained in:
Hillel Coren 2016-08-15 07:51:56 +03:00
parent 8262e40942
commit 263c34c04f

View File

@ -90,12 +90,12 @@
function sweetConfirm(success, text, title) {
title = title || "{!! trans("texts.are_you_sure") !!}";
swal({
type: "warning",
//type: "warning",
//confirmButtonColor: "#DD6B55",
title: title,
text: text,
cancelButtonText: "{!! trans("texts.no") !!}",
confirmButtonText: "{!! trans("texts.yes") !!}",
confirmButtonColor: "#DD6B55",
showCancelButton: true,
closeOnConfirm: false
}, function() {