IDEMPIERE-520 - Master Detail Bugs found using production window
This commit is contained in:
parent
83631f7277
commit
fa2b6fa861
|
@ -107,7 +107,8 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
public void onCallback(Boolean result) {
|
public void onCallback(Boolean result) {
|
||||||
if (result) {
|
if (result) {
|
||||||
onEditDetail(row);
|
onEditDetail(row);
|
||||||
adWindowPanel.onNew();
|
if (!adWindowPanel.getActiveGridTab().isNew())
|
||||||
|
adWindowPanel.onNew();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -531,7 +531,10 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
|
||||||
if (i < 0 || tabbox.getTabs() == null || i >= tabbox.getTabs().getChildren().size())
|
if (i < 0 || tabbox.getTabs() == null || i >= tabbox.getTabs().getChildren().size())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
tabbox.getTabs().getChildren().get(i).setVisible(visible);
|
Tab tab = (Tab) tabbox.getTabs().getChildren().get(i);
|
||||||
|
tab.setVisible(visible);
|
||||||
|
if (tab.getLinkedPanel() != null)
|
||||||
|
tab.getLinkedPanel().setVisible(visible);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isTabVisible(int i) {
|
public boolean isTabVisible(int i) {
|
||||||
|
|
Loading…
Reference in New Issue