mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
Add "focus" option when displaying a modal form
This commit is contained in:
@ -73,6 +73,7 @@ $("#add-test-result").click(function() {
|
||||
stock_item: {{ item.id }},
|
||||
},
|
||||
success: reloadTable,
|
||||
focus: 'test',
|
||||
}
|
||||
);
|
||||
});
|
||||
@ -89,6 +90,7 @@ $("#test-result-table").on('click', '.button-test-add', function() {
|
||||
test: test_name
|
||||
},
|
||||
success: reloadTable,
|
||||
focus: 'value',
|
||||
}
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user