BF [ 2985892 ] Opening a window using a new record query is not working
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2985892
This commit is contained in:
parent
788947ce47
commit
988ccdafa2
|
@ -110,6 +110,8 @@ import org.zkoss.zul.Menupopup;
|
||||||
* @author Teo Sarca, teo.sarca@gmail.com
|
* @author Teo Sarca, teo.sarca@gmail.com
|
||||||
* <li>BF [ 2992540 ] Grid/Panel not refreshed after process run
|
* <li>BF [ 2992540 ] Grid/Panel not refreshed after process run
|
||||||
* https://sourceforge.net/tracker/?func=detail&aid=2992540&group_id=176962&atid=955896
|
* https://sourceforge.net/tracker/?func=detail&aid=2992540&group_id=176962&atid=955896
|
||||||
|
* <li>BF [ 2985892 ] Opening a window using a new record query is not working
|
||||||
|
* https://sourceforge.net/tracker/?func=detail&aid=2985892&group_id=176962&atid=955896
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractADWindowPanel extends AbstractUIPart implements ToolbarListener,
|
public abstract class AbstractADWindowPanel extends AbstractUIPart implements ToolbarListener,
|
||||||
EventListener, DataStatusListener, ActionListener, ASyncProcess
|
EventListener, DataStatusListener, ActionListener, ASyncProcess
|
||||||
|
@ -597,6 +599,8 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
onNew();
|
onNew();
|
||||||
else if (query == null && curTab.getRowCount() == 0 && Env.isAutoNew(ctx, curWindowNo))
|
else if (query == null && curTab.getRowCount() == 0 && Env.isAutoNew(ctx, curWindowNo))
|
||||||
onNew();
|
onNew();
|
||||||
|
else if (!curTab.isReadOnly() && curTab.isQueryNewRecord())
|
||||||
|
onNew();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue