Thread:Penguin-Pal/@comment-4572079-20140212194210/@comment-4572079-20140628112341

Hello :) I use this thread again because my request is about a little part of the ToDo List code.

In your awesome script, you defined a line to close the editor when edit is done :

I recently tried to add a confirm message so I can choose to close it or not, here is what I've done :

I want a confirm box to appear and when I choose "Ok", it closes the pad, and returns if I choose "Cancel". I found on the web that selecting "Ok" returns the value, and false if I cancel. With my script the box appears correctly but only returns when I click "Ok".

Could you help me with that ? Thank you :)