Page 1 of 1

Close "Ask A Question" Popup

Posted: 26 May 2018, 15:22
by cesarsupport
Hi.
I would like it when a person sends a question.
After receiving the message "Success", the "Ask A Question" Popup is closed.

I hope you can help me.

Kind regards.

Re: Close "Ask A Question" Popup

Posted: 27 May 2018, 00:21
by Jan
Hi, I think the solution should be some javascript which will close the window in some time :idea:

Code: Select all

<script type='text/javascript'>
setTimeout(function () { window.close();}, 1000);
</script>
in question view. But it will be not so easy, it should close only in case the message was sent with success and to get such information, e.g. some variable in return string should be used :idea:

Jan