mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 10:22:09 +00:00
New code by @vissert that allows category edit (see #282)
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -81,9 +81,13 @@ $(document).ready(function () {
|
||||
}
|
||||
|
||||
// also for multi input:
|
||||
if ($('input[name="category[]"]').length > 0) {
|
||||
if ($('input[name^="category["]').length > 0) {
|
||||
$.getJSON('json/categories').done(function (data) {
|
||||
$('input[name="category[]"]').typeahead({source: data});
|
||||
$('input[name^="category["]').typeahead({source: data});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
Reference in New Issue
Block a user