Bug 33104: Prevent 'Type' to be cleared
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e5e4279a04
commit
e92985359b
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@
|
|||
interfaces = [];
|
||||
$("#interfaces > fieldset.supplier-interface > ol.interface-form").each( (index, interface_form )=> {
|
||||
let interface = {};
|
||||
$(interface_form).find('input,textarea').serializeArray().map(attr => {
|
||||
$(interface_form).find('input,textarea,select').serializeArray().map(attr => {
|
||||
let name = attr.name.replace(/interface_([\w_]+)_\d+/, "$1");
|
||||
interface[name] = attr.value
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue