This commit is contained in:
James Cole
2017-09-03 10:51:02 +02:00
parent 816b291ed3
commit 6b09466819
3 changed files with 30 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ $(document).ready(function () {
// when user selects different currency,
$('.currency-option').on('click', selectsForeignCurrency);
$('#ffInput_description').focus();
});
/**
@@ -84,6 +85,7 @@ function updateDescription() {
$.getJSON('json/transaction-journals/' + what).done(function (data) {
$('input[name="description"]').typeahead('destroy').typeahead({source: data});
});
$('#ffInput_description').focus();
}
/**