mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Dynamic modals: codesmell
This commit is contained in:
@@ -27,7 +27,7 @@ function populateQuoteEditModal(quote_id) {
|
||||
|
||||
// Clear Category dropdown
|
||||
var i, L = categoryDropdown.options.length -1;
|
||||
for(i = L; i >= 0; i--) {
|
||||
for (i = L; i >= 0; i--) {
|
||||
categoryDropdown.remove(i);
|
||||
}
|
||||
categoryDropdown[categoryDropdown.length] = new Option('- Category -', '0');
|
||||
|
||||
Reference in New Issue
Block a user