I have a script that used to work just fine, but has suddenly stopped working.
The user selects an option from a user-created menu, which launches a dialog box (HTML Service form) to collect two parameters. This is all working fine.
When the users submits the form, this code should execute.
<input type="submit" value="Submit" class="submit" onclick =
"google.script.run.withSuccessHandler(google.script.host.close())
.createAgenda(this.parentNode)"/>
The form is closing (google.script.host.close()
works), but the createAgenda
function is not being called.