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.
Close "Ask A Question" Popup
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Close "Ask A Question" Popup
Hi, I think the solution should be some javascript which will close the window in some time
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
Jan
Code: Select all
<script type='text/javascript'>
setTimeout(function () { window.close();}, 1000);
</script>
Jan
If you find Phoca extensions useful, please support the project