OnFind doesn't check FindWindow.IsCancel
This commit is contained in:
parent
c5b01e5672
commit
8fd5367c8f
|
@ -1044,20 +1044,21 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
curTab.getWhereExtended(), findFields, 1, curTab.getAD_Tab_ID());
|
curTab.getWhereExtended(), findFields, 1, curTab.getAD_Tab_ID());
|
||||||
find.setVisible(true);
|
find.setVisible(true);
|
||||||
AEnv.showWindow(find);
|
AEnv.showWindow(find);
|
||||||
MQuery query = find.getQuery();
|
|
||||||
|
|
||||||
find = null;
|
if (!find.isCancel())
|
||||||
|
|
||||||
// Confirmed query
|
|
||||||
if (query != null)
|
|
||||||
{
|
{
|
||||||
m_onlyCurrentRows = false; // search history too
|
MQuery query = find.getQuery();
|
||||||
curTab.setQuery(query);
|
|
||||||
curTabpanel.query(m_onlyCurrentRows, m_onlyCurrentDays, 0); // autoSize
|
// Confirmed query
|
||||||
|
if (query != null)
|
||||||
|
{
|
||||||
|
m_onlyCurrentRows = false; // search history too
|
||||||
|
curTab.setQuery(query);
|
||||||
|
curTabpanel.query(m_onlyCurrentRows, m_onlyCurrentDays, 0); // autoSize
|
||||||
|
}
|
||||||
|
|
||||||
|
curTab.dataRefresh(); // Elaine 2008/07/25
|
||||||
}
|
}
|
||||||
|
|
||||||
curTab.dataRefresh(); // Elaine 2008/07/25
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue