IDEMPIERE-280 zk6 - Bug in closing tab in desktop panel
This commit is contained in:
parent
44b65c5eb5
commit
cf78f8be6c
|
@ -52,7 +52,7 @@ import org.zkoss.zul.Space;
|
||||||
* @author Cristina Ghita, www.arhipac.ro
|
* @author Cristina Ghita, www.arhipac.ro
|
||||||
* <li>FR [ 2076330 ] Add new methods in CWindowToolbar class
|
* <li>FR [ 2076330 ] Add new methods in CWindowToolbar class
|
||||||
*/
|
*/
|
||||||
public class CWindowToolbar extends FToolbar implements EventListener
|
public class CWindowToolbar extends FToolbar implements EventListener<Event>
|
||||||
{
|
{
|
||||||
private static final String BTNPREFIX = "Btn";
|
private static final String BTNPREFIX = "Btn";
|
||||||
|
|
||||||
|
|
|
@ -208,6 +208,7 @@ public class ADWindowPanel extends AbstractADWindowPanel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
getComponent().getParent().invalidate();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -276,6 +277,8 @@ public class ADWindowPanel extends AbstractADWindowPanel
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
tabbox.getSelectedPanel().invalidate();
|
||||||
}
|
}
|
||||||
tabPanel.detach();
|
tabPanel.detach();
|
||||||
tab.detach();
|
tab.detach();
|
||||||
|
|
Loading…
Reference in New Issue