From 09d9eaa1423b4e88c864a623be09ca24e1985535 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 17 Mar 2023 12:45:56 +0100 Subject: [PATCH] fix --- ccp/js/methodeditorcontroller2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/js/methodeditorcontroller2.js b/ccp/js/methodeditorcontroller2.js index 6ad01e1..ac5f3b6 100644 --- a/ccp/js/methodeditorcontroller2.js +++ b/ccp/js/methodeditorcontroller2.js @@ -890,7 +890,7 @@ class CCPMethodEditorController extends HTMLElement{ } renderScripts(){ - const val = this.#rootdoc.querySelector("select[name=script-selector]") ? this.#rootdoc.querySelector("select[name=script-selector]").value : 'deploy-script' + const val = 'deploy-script' return this.#current.additionalParameters.parameters.map( (script, i) => { let code = script.value.length ? script.value.join("\r\n") : ""