IDEMPIERE-4528 Update Js Library (#410)
Restore sendDeferLayoutEvent - deprecated, to avoid breaking some plugins out there
This commit is contained in:
parent
2735131285
commit
808773aa9f
|
@ -52,6 +52,21 @@ public final class LayoutUtils {
|
||||||
|
|
||||||
public static final String ON_REDRAW_EVENT = "onRedraw";
|
public static final String ON_REDRAW_EVENT = "onRedraw";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param layout
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public static void sendDeferLayoutEvent(org.zkoss.zul.Borderlayout layout, int timeout) {
|
||||||
|
/* this is not required anymore */
|
||||||
|
// StringBuilder content = new StringBuilder();
|
||||||
|
// content.append("ad_deferRenderBorderLayout('")
|
||||||
|
// .append(layout.getUuid())
|
||||||
|
// .append("',").append(timeout).append(");");
|
||||||
|
//
|
||||||
|
// AuScript as = new AuScript(null, content.toString());
|
||||||
|
// Clients.response("deferRenderBorderLayout", as);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param cls
|
* @param cls
|
||||||
|
|
Loading…
Reference in New Issue