Bug 35695: Remove useless JS from cataloging_additem.js
To test: 1. APPLY PATCH 2. Turn on EnableItemGroups 3. Go to a record with item groups, or create some. 4. Add an item, making sure items can be added to a group. ( Bug 33639 must be applied ) If I am wrong and this code should stay, tell me. I'll fix the jQuery instead of removing it. :) Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
bb7fc5025b
commit
cbc97f5c68
1 changed files with 0 additions and 7 deletions
|
@ -134,13 +134,6 @@ $(document).ready(function(){
|
|||
});
|
||||
}
|
||||
|
||||
$('#item-group-add-or-create-form-select').on('change', function() {
|
||||
if ( ! $('input.items-enumchron').val() ) {
|
||||
let item_group_selector = '#item-group-' + $(this).val();
|
||||
let enumchron = $(item_group_selector).val();
|
||||
$('input.items-enumchron').val( enumchron );
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function CheckTemplateForm(f) {
|
||||
|
|
Loading…
Reference in a new issue