Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function confirmar(titulo, subtitulo, sim, nao)
- {
- var retorno = $.confirm({
- theme: 'hololight',
- title: titulo,
- content: subtitulo,
- buttons: {
- confirm: {
- text: 'Sim',
- btnClass: 'btn-blue',
- action: function(sim){
- sim();
- }
- },
- cancel: {
- text: 'Não',
- action: function(nao){
- nao();
- }
- }
- }
- });
- return retorno;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement