IDEMPIERE-1735 The window tab disappears when selecting a link in the online help.
This commit is contained in:
parent
b2c4c429a9
commit
ad9534725f
|
@ -34,6 +34,7 @@ import org.compiere.util.Env;
|
||||||
import org.compiere.util.Msg;
|
import org.compiere.util.Msg;
|
||||||
import org.compiere.util.WebDoc;
|
import org.compiere.util.WebDoc;
|
||||||
import org.zkoss.zul.Center;
|
import org.zkoss.zul.Center;
|
||||||
|
import org.zkoss.zul.Div;
|
||||||
import org.zkoss.zul.Html;
|
import org.zkoss.zul.Html;
|
||||||
|
|
||||||
public class HelpWindow extends Window {
|
public class HelpWindow extends Window {
|
||||||
|
@ -65,8 +66,11 @@ public class HelpWindow extends Window {
|
||||||
centerPane.setAutoscroll(true);
|
centerPane.setAutoscroll(true);
|
||||||
borderlayout.appendChild(centerPane);
|
borderlayout.appendChild(centerPane);
|
||||||
|
|
||||||
|
Div div = new Div();
|
||||||
|
centerPane.appendChild(div);
|
||||||
|
div.setStyle("width: 100%; height: 100%; overflow: auto;");
|
||||||
Html html = new Html();
|
Html html = new Html();
|
||||||
centerPane.appendChild(html);
|
div.appendChild(html);
|
||||||
|
|
||||||
WebDoc doc = WebDoc.create(true);
|
WebDoc doc = WebDoc.create(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue