mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-21 03:42:54 +00:00
Edit and update tags.
This commit is contained in:
@@ -8,6 +8,20 @@ $(document).ready(function () {
|
||||
$('input[name="expense_account"]').typeahead({source: data});
|
||||
});
|
||||
}
|
||||
|
||||
if ($('input[name="tags"]').length > 0) {
|
||||
$.getJSON('json/tags').success(function (data) {
|
||||
var opt = {
|
||||
typeahead: {
|
||||
source: data
|
||||
}
|
||||
};
|
||||
$('input[name="tags"]').tagsinput(
|
||||
opt
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
if ($('input[name="revenue_account"]').length > 0) {
|
||||
$.getJSON('json/revenue-accounts').success(function (data) {
|
||||
$('input[name="revenue_account"]').typeahead({source: data});
|
||||
|
Reference in New Issue
Block a user