From 981ac8e7a757698b096355a295e45eecde9a2ebb Mon Sep 17 00:00:00 2001 From: Richard Morales Date: Thu, 13 Jun 2013 18:19:34 -0500 Subject: [PATCH] IDEMPIERE-1051 Button New Record is active in Sort Tab --- .../org/adempiere/webui/adwindow/AbstractADWindowContent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java index 84c0305be4..1602482b63 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java @@ -1441,7 +1441,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements // // No Rows - if (e.getTotalRows() == 0 && insertRecord && !detailTab) + if (e.getTotalRows() == 0 && insertRecord && !detailTab && !tabPanel.getGridTab().isSortTab()) { toolbar.enableNew(true); toolbar.enableDelete(false);