This commit is contained in:
parent
97ea3c5973
commit
70298e1835
|
@ -29,6 +29,7 @@ import org.compiere.model.MQuery;
|
|||
import org.compiere.model.MTask;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.WebDoc;
|
||||
import org.compiere.wf.MWorkflow;
|
||||
import org.zkoss.util.media.AMedia;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zul.Iframe;
|
||||
|
@ -94,7 +95,7 @@ public abstract class TabbedDesktop extends AbstractDesktop {
|
|||
|
||||
DesktopTabpanel tabPanel = new DesktopTabpanel();
|
||||
p.setParent(tabPanel);
|
||||
windowContainer.addWindow(tabPanel, p.getWorkflow().getName(), true);
|
||||
windowContainer.addWindow(tabPanel, p.getWorkflow().get_Translation(MWorkflow.COLUMNNAME_Name), true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -178,7 +178,7 @@ public abstract class ADForm extends Window implements EventListener
|
|||
String webClassName = "";
|
||||
MForm mform = new MForm(Env.getCtx(), adFormID, null);
|
||||
String richClassName = mform.getClassname();
|
||||
String name = mform.getName();
|
||||
String name = mform.get_Translation(MForm.COLUMNNAME_Name);
|
||||
|
||||
if (mform.get_ID() == 0 || richClassName == null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue