Fixed intermittent javascript error.
This commit is contained in:
parent
413e7214ca
commit
6da3e8a2b8
|
@ -258,6 +258,7 @@ public class StatusBarPanel extends Panel implements EventListener, IStatusBar
|
|||
private void showPopup() {
|
||||
popup.setVisible(true);
|
||||
popup.setStyle(popupStyle);
|
||||
if (getRoot() == null || !getRoot().isVisible() ) return;
|
||||
|
||||
String script = "var d = zk.Widget.$('" + popup.getUuid() + "').$n();";
|
||||
script += "d.style.display='block';d.style.visibility='hidden';";
|
||||
|
|
Loading…
Reference in New Issue