Progress with component handling
This commit is contained in:
@@ -28,6 +28,9 @@ function fill_add_stock_modal_component(data) {
|
||||
|
||||
new AutocompleteCustomUi('add-stock-search', 'add-stock-search-ac-dropdown',
|
||||
function(search, autocomplete_obj) {
|
||||
if (search.startsWith('[comp_uuid]')) {
|
||||
search = search.replace('[comp_uuid]', '');
|
||||
}
|
||||
api_search_component(search, function(results) {
|
||||
components = results.results;
|
||||
var test = [];
|
||||
|
Reference in New Issue
Block a user