Custom Confirmation Dialog

Stepel

Member
Hi,

I have to show "confirmation dialog" after click "Add Reply".
If somone click "yes" then I have to add post, if "no" then close dialog.
What is the best way to do that ?

I know that this button doesn't have class "OverlayTriggered" and my template is added to thread view, it doesn't appear like "dilog".
When i do return $this->responseView.. it doesn't work as I want.

But when I use return $this->responseError then error dialog is showing like "dialog". Where is the differnt ?
 
Last edited:
Top Bottom