continue VC
This commit is contained in:
parent
50c37e56c9
commit
c9f15e877d
|
@ -683,7 +683,21 @@ function createVisualConsole(
|
|||
|
||||
//Danguerous empty form if necessary for cleaned IDs.
|
||||
$formElement.empty();
|
||||
}
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
text: "Cancel",
|
||||
click: function() {
|
||||
$formElement.dialog("close");
|
||||
}
|
||||
},
|
||||
{
|
||||
text: "Update",
|
||||
click: function() {
|
||||
console.log(formContainer);
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
// TODO: Add submit and reset button.
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -219,14 +219,16 @@ export class FormContainer {
|
|||
}
|
||||
});
|
||||
|
||||
/*
|
||||
// Add buttons.
|
||||
const submitBtn = document.createElement("input");
|
||||
submitBtn.className = "sub upd";
|
||||
submitBtn.type = "submit";
|
||||
submitBtn.value = type === "creation" ? t("Create") : t("Update");
|
||||
*/
|
||||
|
||||
form.appendChild(formContent);
|
||||
form.appendChild(submitBtn);
|
||||
//form.appendChild(submitBtn);
|
||||
|
||||
return form;
|
||||
}
|
||||
|
|
|
@ -246,7 +246,6 @@ class CustomGraphInputGroup extends InputGroup<Partial<ModuleGraphProps>> {
|
|||
|
||||
if (data instanceof Array) {
|
||||
const customGraphSelect = document.createElement("select");
|
||||
customGraphSelect.required = true;
|
||||
|
||||
data.forEach(option => {
|
||||
const optionElement = document.createElement("option");
|
||||
|
|
Loading…
Reference in New Issue