2020-09-19 16:08:07 +02:00
|
|
|
jconfirm.defaults = {
|
|
|
|
title: '',
|
|
|
|
titleClass: '',
|
|
|
|
type: 'default',
|
|
|
|
typeAnimated: true,
|
|
|
|
draggable: false,
|
|
|
|
animateFromElement: true,
|
|
|
|
smoothContent: true,
|
|
|
|
content: '',
|
|
|
|
buttons: {},
|
|
|
|
defaultButtons: {
|
|
|
|
ok: {
|
|
|
|
text: 'OK',
|
|
|
|
action: function () {
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
contentLoaded: function(data, status, xhr){
|
|
|
|
},
|
|
|
|
icon: '',
|
|
|
|
lazyOpen: false,
|
|
|
|
bgOpacity: null,
|
|
|
|
theme: 'supervan',
|
|
|
|
animation: 'scale',
|
|
|
|
closeAnimation: 'scale',
|
|
|
|
animationSpeed: 400,
|
|
|
|
animationBounce: 1,
|
|
|
|
rtl: false,
|
|
|
|
container: 'body',
|
|
|
|
containerFluid: false,
|
|
|
|
escapeKey: 'ok',
|
|
|
|
backgroundDismiss: true,
|
|
|
|
backgroundDismissAnimation: 'shake',
|
|
|
|
autoClose: false,
|
|
|
|
closeIcon: null,
|
|
|
|
closeIconClass: false,
|
|
|
|
watchInterval: 100,
|
|
|
|
columnClass: 'col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-10 col-xs-offset-1',
|
|
|
|
boxWidth: '50%',
|
|
|
|
scrollToPreviousElement: true,
|
|
|
|
scrollToPreviousElementAnimate: true,
|
|
|
|
useBootstrap: true,
|
|
|
|
offsetTop: 40,
|
|
|
|
offsetBottom: 40,
|
|
|
|
bootstrapClasses: {
|
|
|
|
container: 'container',
|
|
|
|
containerFluid: 'container-fluid',
|
|
|
|
row: 'row',
|
|
|
|
},
|
|
|
|
onContentReady: function () {},
|
|
|
|
onOpenBefore: function () {},
|
|
|
|
onOpen: function () {},
|
|
|
|
onClose: function () {},
|
|
|
|
onDestroy: function () {},
|
|
|
|
onAction: function () {}
|
2019-06-13 18:43:04 +02:00
|
|
|
};
|