Lines 135-145
$(document).ready(function(){
Link Here
|
135 |
} |
135 |
} |
136 |
|
136 |
|
137 |
$('#item-group-add-or-create-form-select').on('change', function() { |
137 |
$('#item-group-add-or-create-form-select').on('change', function() { |
138 |
if ( ! $('input.items-enumchron').val() ) { |
138 |
let item_group_selector = '#item-group-' + $(this).val(); |
139 |
let item_group_selector = '#item-group-' + $(this).val(); |
139 |
let enumchron = $(item_group_selector).val(); |
140 |
let enumchron = $(item_group_selector).val(); |
140 |
$('input[name="items.enumchron"]').val( enumchron ); |
141 |
$('input.items-enumchron').val( enumchron ); |
|
|
142 |
} |
143 |
}); |
141 |
}); |
144 |
}); |
142 |
}); |
145 |
|
143 |
|
146 |
- |
|
|