diff --git a/ccp/js/methodeditorcontroller2.js b/ccp/js/methodeditorcontroller2.js
index e7c2e9a..6ad01e1 100644
--- a/ccp/js/methodeditorcontroller2.js
+++ b/ccp/js/methodeditorcontroller2.js
@@ -890,12 +890,12 @@ class CCPMethodEditorController extends HTMLElement{
}
renderScripts(){
- const index = this.#rootdoc.querySelector("select[name=script-selector]") ? this.#rootdoc.querySelector("select[name=script-selector]").selectedIndex : 0
+ const val = this.#rootdoc.querySelector("select[name=script-selector]") ? this.#rootdoc.querySelector("select[name=script-selector]").value : 'deploy-script'
return this.#current.additionalParameters.parameters.map(
(script, i) => {
let code = script.value.length ? script.value.join("\r\n") : ""
return `
-
+
`
}
).join("\n")