added method inferring from url parametere

This commit is contained in:
dcore94 2024-02-02 17:28:05 +01:00
parent 19d7be6ea0
commit 0ce705bb3f
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ class CCPExecutionForm extends HTMLElement{
this.#rootdoc = this.attachShadow({ "mode" : "open"})
this.connectNewExecutionRequest()
const p = new URLSearchParams(window.location.search)
this.#method = urlParams.get('method');
this.render()
this.showMethod()
}