Progress with component handling
This commit is contained in:
@@ -3,4 +3,28 @@
|
||||
*/
|
||||
.asteriskField {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.component-img-big {
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
.component-img-small {
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
}
|
||||
|
||||
.component-img-def-big {
|
||||
width: 200px;
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
.component-img-def-small {
|
||||
width: 64px;
|
||||
max-height: 64px;
|
||||
}
|
||||
|
||||
.component-img-huge {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
@@ -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