IDEMPIERE-1857:Incorrectly info window opens from views panel

This commit is contained in:
hieplq 2014-03-25 18:17:48 +07:00
parent 908050c3bd
commit 9b1f81f2cd
1 changed files with 3 additions and 3 deletions

View File

@ -19,6 +19,7 @@ import org.adempiere.webui.apps.AEnv;
import org.adempiere.webui.component.ToolBarButton;
import org.adempiere.webui.component.Window;
import org.adempiere.webui.panel.InfoPanel;
import org.adempiere.webui.session.SessionManager;
import org.adempiere.webui.theme.ThemeManager;
import org.adempiere.webui.window.InfoSchedule;
import org.compiere.model.MInfoWindow;
@ -135,9 +136,8 @@ public class DPViews extends DashboardPanel implements EventListener<Event> {
if (infoWindowID<=0)
return;
String tableName = MTable.getTableName(Env.getCtx(), new MInfoWindow(Env.getCtx(), infoWindowID, null).getAD_Table_ID());
InfoPanel.showPanel(tableName);
SessionManager.getAppDesktop().openInfo(infoWindowID);
}
}
}