Moved some JSON around. [skip-ci]

This commit is contained in:
James Cole
2014-07-15 07:08:13 +02:00
parent 0e09e52e45
commit 09b6c4d982
8 changed files with 82 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
$.getJSON('accounts/beneficiaries').success(function (data) {
$.getJSON('json/beneficiaries').success(function (data) {
$('input[name="beneficiary"]').typeahead({ source: data });
});
$.getJSON('json/categories').success(function (data) {
$('input[name="category"]').typeahead({ source: data });
});