IDEMPIERE-280 zk6 - Bug in closing tab in desktop panel

This commit is contained in:
Heng Sin Low 2012-05-31 15:04:28 +08:00
parent 44b65c5eb5
commit cf78f8be6c
2 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,7 @@ import org.zkoss.zul.Space;
* @author Cristina Ghita, www.arhipac.ro
* <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";

View File

@ -208,6 +208,7 @@ public class ADWindowPanel extends AbstractADWindowPanel
}
}
}
getComponent().getParent().invalidate();
}
});
@ -276,6 +277,8 @@ public class ADWindowPanel extends AbstractADWindowPanel
break;
}
}
} else {
tabbox.getSelectedPanel().invalidate();
}
tabPanel.detach();
tab.detach();