- button callout result always display as error
This commit is contained in:
parent
abf98bcc72
commit
2fac5b523d
|
@ -1923,8 +1923,13 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
{
|
||||
if (event.getSource() instanceof WButtonEditor)
|
||||
{
|
||||
statusBar.setStatusLine(processButtonCallout((WButtonEditor)event.getSource()), true);
|
||||
actionButton((WButtonEditor)event.getSource());
|
||||
String error = processButtonCallout((WButtonEditor)event.getSource());
|
||||
if (error != null && error.trim().length() > 0)
|
||||
{
|
||||
statusBar.setStatusLine(error, true);
|
||||
return;
|
||||
}
|
||||
actionButton((WButtonEditor)event.getSource());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue