mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-10 19:58:22 +00:00
Can now create recurring transactions. #1469
This commit is contained in:
7
public/js/ff/recurring/create.js
vendored
7
public/js/ff/recurring/create.js
vendored
@@ -114,9 +114,14 @@ function parseRepetitionSuggestions(data) {
|
||||
|
||||
var select = $('#ffInput_repetition_type');
|
||||
select.empty();
|
||||
var opt;
|
||||
for (var k in data) {
|
||||
if (data.hasOwnProperty(k)) {
|
||||
select.append($('<option>').val(k).attr('label', data[k]).text(data[k]));
|
||||
opt = $('<option>').val(k).attr('label', data[k]).text(data[k]);
|
||||
if(k === oldRepetitionType) {
|
||||
opt.attr('selected','selected');
|
||||
}
|
||||
select.append(opt);
|
||||
}
|
||||
}
|
||||
select.removeAttr('disabled');
|
||||
|
||||
Reference in New Issue
Block a user