correctly showing the specific api on confirm. see #102
This commit is contained in:
parent
622d9a9c82
commit
94d1647c35
1 changed files with 6 additions and 0 deletions
|
|
@ -801,6 +801,12 @@ function handleConfirmClick(e) {
|
||||||
tr.querySelector('.type_show').innerText = tr.querySelector('.type_output').selectedOptions[0].text;
|
tr.querySelector('.type_show').innerText = tr.querySelector('.type_output').selectedOptions[0].text;
|
||||||
tr.querySelector('.action').innerText = tr.querySelector('.action_output').value;
|
tr.querySelector('.action').innerText = tr.querySelector('.action_output').value;
|
||||||
tr.querySelector('.action_show').innerText = tr.querySelector('.action_output').selectedOptions[0].text;
|
tr.querySelector('.action_show').innerText = tr.querySelector('.action_output').selectedOptions[0].text;
|
||||||
|
if (newValues.api_type !== '') {
|
||||||
|
tr.querySelector('.api_type_show').innerText = newValues.api_type;
|
||||||
|
tr.querySelector('.api_additional_info_show').style.display = 'block';
|
||||||
|
tr.querySelector('.api_additional_info_row').style.display = 'block';
|
||||||
|
|
||||||
|
}
|
||||||
// the checkboxes update is handled directly by themselves
|
// the checkboxes update is handled directly by themselves
|
||||||
hideItemRowEditor(tr);
|
hideItemRowEditor(tr);
|
||||||
setSomethingChanged();
|
setSomethingChanged();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue