Expand views and JS.

This commit is contained in:
James Cole
2014-12-05 21:39:48 +01:00
parent 6ff618e388
commit 919a0c01e4
5 changed files with 21 additions and 17 deletions

View File

@@ -18,16 +18,4 @@ $(document).ready(function () {
if(typeof googleTablePaged != 'undefined') {
googleTablePaged('table/transactions/' + what,'transaction-table');
}
if($('#relateTransaction').length == 1) {
$('#relateTransaction').click(relateTransaction);
}
});
function relateTransaction(e) {
var target = $(e.target);
var ID = target.data('id');
alert("TODO remove me");
$('#relationModal').empty().load('transaction/relate/' + ID).modal('show');
return false;
}
});