1004150 Process modal dialog: no scrollbar when content overflow. Fixed for RunAsJob for Financial Report ( Ticket #1004121 ).

This commit is contained in:
Heng Sin Low 2014-07-16 11:15:47 +08:00
parent 3aa0e36afd
commit 4b4e41a3ab
1 changed files with 3 additions and 0 deletions

View File

@ -285,7 +285,10 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
{ {
Component component = event.getTarget(); Component component = event.getTarget();
if (component == runAsJobField && event.getName().equals(Events.ON_CHECK)) if (component == runAsJobField && event.getName().equals(Events.ON_CHECK))
{
notificationTypeField.getComponent().getParent().setVisible(runAsJobField.isChecked()); notificationTypeField.getComponent().getParent().setVisible(runAsJobField.isChecked());
centerPanel.invalidate();
}
else if (event.getName().equals(ON_COMPLETE)) else if (event.getName().equals(ON_COMPLETE))
onComplete(); onComplete();
else if (event.getName().equals(ON_STATUS_UPDATE)) else if (event.getName().equals(ON_STATUS_UPDATE))