Update js [skip ci]

This commit is contained in:
James Cole
2015-05-24 20:41:14 +02:00
parent 8daccbfbb4
commit 860a0f790e
6 changed files with 36 additions and 27 deletions

View File

@@ -1,8 +1,6 @@
/* globals what, $ */
$(document).ready(function () {
if (typeof googleTablePaged != 'undefined') {
googleTablePaged('table/transactions/' + what, 'transaction-table');
}
"use strict";
if ($('input[name="expense_account"]').length > 0) {
$.getJSON('json/expense-accounts').success(function (data) {
$('input[name="expense_account"]').typeahead({source: data});