IDEMPIERE-3289 DocAction button at second tab level. / based on patch from Fernando Moraes
This commit is contained in:
parent
654bd882dc
commit
e7f15a3b49
|
@ -93,7 +93,7 @@ public class VDocAction extends CDialog
|
|||
}
|
||||
|
||||
// dynamic init preparation
|
||||
m_AD_Table_ID = Env.getContextAsInt(Env.getCtx(), WindowNo, "BaseTable_ID");
|
||||
m_AD_Table_ID = mTab.getAD_Table_ID();
|
||||
if (s_value == null)
|
||||
readReference();
|
||||
//
|
||||
|
|
|
@ -98,7 +98,7 @@ public class WDocActionPanel extends Window implements EventListener<Event>, Dia
|
|||
DocStatus = (String)gridTab.getValue("DocStatus");
|
||||
DocAction = (String)gridTab.getValue("DocAction");
|
||||
|
||||
m_AD_Table_ID = Env.getContextAsInt(Env.getCtx(), gridTab.getWindowNo(), "BaseTable_ID");
|
||||
m_AD_Table_ID = mgridTab.getAD_Table_ID();
|
||||
|
||||
readReference();
|
||||
initComponents();
|
||||
|
|
Loading…
Reference in New Issue