add new fields to clearFields function for ChatGPT web model and project. see #277 #168

This commit is contained in:
Mic 2025-04-28 21:13:00 +02:00
parent f742f0460a
commit bc17be4853

View file

@ -795,10 +795,13 @@ function checkFields() {
} }
function clearFields() { //TODO add new fields function clearFields() {
document.getElementById('txtIdNew').value = ''; document.getElementById('txtIdNew').value = '';
document.getElementById('txtNameNew').value = ''; document.getElementById('txtNameNew').value = '';
document.getElementById('txtTextNew').value = ''; document.getElementById('txtTextNew').value = '';
document.getElementById('chatGPTWebModelNew').value = '';
document.getElementById('chatGPTWebProjectNew').value = '';
document.getElementById('chatGPTWebCustomGPTNew').value = '';
document.getElementById('selectTypeNew').value = '0'; document.getElementById('selectTypeNew').value = '0';
document.getElementById('selectActionNew').value = '0'; document.getElementById('selectActionNew').value = '0';
document.getElementById('checkboxNeedSelectedNew').value = '0'; document.getElementById('checkboxNeedSelectedNew').value = '0';