control double click event
This commit is contained in:
@@ -379,7 +379,7 @@
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#pay').click(function(event) {
|
$('#pay').click(function() {
|
||||||
// $('#pay').text("Processing, Please wait!")
|
// $('#pay').text("Processing, Please wait!")
|
||||||
$( "#loading_wrapper").show();
|
$( "#loading_wrapper").show();
|
||||||
|
|
||||||
@@ -417,6 +417,10 @@
|
|||||||
swal({
|
swal({
|
||||||
title: "Information!",
|
title: "Information!",
|
||||||
text: 'Changed amount ' + $('#balance').text() * (-1),
|
text: 'Changed amount ' + $('#balance').text() * (-1),
|
||||||
|
html: true,
|
||||||
|
closeOnConfirm: false, //It does close the popup when I click on close button
|
||||||
|
closeOnCancel: false,
|
||||||
|
allowOutsideClick: false
|
||||||
}, function () {
|
}, function () {
|
||||||
window.location.href = '/origami';
|
window.location.href = '/origami';
|
||||||
});
|
});
|
||||||
@@ -425,6 +429,10 @@
|
|||||||
swal({
|
swal({
|
||||||
title: "Information!",
|
title: "Information!",
|
||||||
text: 'Thank You !',
|
text: 'Thank You !',
|
||||||
|
html: true,
|
||||||
|
closeOnConfirm: false, //It does close the popup when I click on close button
|
||||||
|
closeOnCancel: false,
|
||||||
|
allowOutsideClick: false
|
||||||
}, function () {
|
}, function () {
|
||||||
window.location.href = '/origami';
|
window.location.href = '/origami';
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user