Fix modal.

This commit is contained in:
James Cole
2015-05-31 20:24:06 +02:00
parent 4ae24225a5
commit 8254efbd03

View File

@@ -60,8 +60,8 @@ function addMoney(e) {
function removeMoney(e) {
"use strict";
var pigID = parseInt($(e.target).data('id'));
$('#moneyManagementModal').empty().load('piggy-banks/remove/' + pigID, function () {
$('#moneyManagementModal').modal('show');
$('#defaultModal').empty().load('piggy-banks/remove/' + pigID, function () {
$('#defaultModal').modal('show');
});
return false;