IDEMPIERE-369 Master Detail layout improvements. turn off borderlayout animation.

This commit is contained in:
Heng Sin Low 2013-01-29 11:42:32 +08:00
parent 4be3d8838b
commit 7f3e9c8c92
2 changed files with 6 additions and 1 deletions

View File

@ -230,7 +230,7 @@ DataStatusListener, IADTabpanel, IdSpace
if (south == null) { if (south == null) {
south = new South(); south = new South();
borderLayout.appendChild(south); borderLayout.appendChild(south);
south.setWidgetOverride("doClick_", "function (evt){this.$doClick_(evt);" + south.setWidgetOverride("doClick_", "function (evt){this.$supers('doClick_', arguments);" +
"var target = evt.domTarget;if (!target.id) target = target.parentNode;" + "var target = evt.domTarget;if (!target.id) target = target.parentNode;" +
"if(this.$n('colled') == target) {" + "if(this.$n('colled') == target) {" +
"var se = new zk.Event(this, 'onSlide', null, {toServer: true}); zAu.send(se); } }"); "var se = new zk.Event(this, 'onSlide', null, {toServer: true}); zAu.send(se); } }");

View File

@ -99,4 +99,9 @@
</name> </name>
<value>11px</value> <value>11px</value>
</library-property> </library-property>
<!-- turn off borderlayout animation -->
<library-property>
<name>org.zkoss.zul.borderlayout.animation.disabed</name>
<value>true</value>
</library-property>
</zk> </zk>