[ 2696753 ] FDialog.ask should have Ok_Cancel button instead of Yes_No

https://sourceforge.net/tracker/index.php?func=detail&aid=2696753&group_id=176962&atid=955896
This commit is contained in:
Heng Sin Low 2009-03-20 07:42:40 +00:00
parent 82f9c7d39b
commit ab10c7634e
1 changed files with 2 additions and 2 deletions

View File

@ -289,9 +289,9 @@ public class FDialog
try
{
String s = Msg.getMsg(Env.getCtx(), adMessage).replace("\n", "<br>");
int response = Messagebox.showDialog(s, Env.getHeader(Env.getCtx(), windowNo), Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
int response = Messagebox.showDialog(s, Env.getHeader(Env.getCtx(), windowNo), Messagebox.OK | Messagebox.CANCEL, Messagebox.QUESTION);
return (response == Messagebox.YES);
return (response == Messagebox.OK);
}
catch (InterruptedException ex)
{