IDEMPIERE-4528 Update Js Library (#410)

Restore sendDeferLayoutEvent - deprecated, to avoid breaking some plugins out there
This commit is contained in:
Carlos Ruiz 2020-11-25 12:18:17 +01:00 committed by GitHub
parent 2735131285
commit 808773aa9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -52,6 +52,21 @@ public final class LayoutUtils {
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