Close the created page on sidebar form submit

大憨熊 提交于 2019-12-13 03:40:53

问题


I have a template in a side bar with a form using the html service attached to a sheet (screenshot). In my template, when I thick the submit button it activates:

        function handleFormSubmit(formObject) {

            google.script.run.processRowPopupHTML(formObject); // the output from form goes to processDocBuildHtml
            google.script.host.close();

        }

This works fine as far as sending the text in the textarea to the server side. But when this happens I get a big blank screen that looks like:

which I then have to close. Is there any way to avoid this?

来源:https://stackoverflow.com/questions/54813537/close-the-created-page-on-sidebar-form-submit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!