[help] how to call warning box


#1

Dear friends.

The warning box:
warning

I want to call this warning box with my custom message and action, from my javascript code, how I do it?
I tried many things, but without success.

Now I use this solution:

function m2(c1) {
if (window.confirm("Confirm action!")) {
// my code
}
}
But this method is not good =(

Thank you in advance
Alisson


#2

Solved.
showConfirmationDialog


#3

Hi @alisson.ve!
Could yo please mark your last post as solution. Thank you!