Name

Popup::ReallyAbort — Confirmation popup when user clicked "Abort".

Synopsis

Import Popup;
boolean Popup::ReallyAbort ( boolean  have_changes );

Parameters

boolean have_changes

true: There are changes that will be lost false: No changes

Return Value

boolean

true: "abort" confirmed; false: don't abort

Description

Set "have changes" to "true" when there are changes that will be lost. Note: If there are none, it is good policy to ask for confirmation anyway, but of course with "have_changes" set to "false" so the user isn't warned about changes that might be lost.