IDEMPIERE-4063 - OK-Button on Infowindow will not be aktivated

This commit is contained in:
Hans Auler GmbH 2019-10-14 08:26:07 +02:00
parent 69cc3237c9
commit 62a8e4efaa
1 changed files with 6 additions and 3 deletions

View File

@ -1820,10 +1820,13 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
{ {
Listitem m_lastOnSelectItem = (Listitem) selectEvent.getReference(); Listitem m_lastOnSelectItem = (Listitem) selectEvent.getReference();
m_lastSelectedIndex = m_lastOnSelectItem.getIndex(); m_lastSelectedIndex = m_lastOnSelectItem.getIndex();
} }
enableButtons();
}else if (event.getTarget() == contentPanel && event.getName().equals("onAfterRender")){ }else if (event.getTarget() == contentPanel && event.getName().equals("onAfterRender")){
//IDEMPIERE-1334 at this event selected item from listBox and model is sync //IDEMPIERE-1334 at this event selected item from listBox and model is sync
enableButtons(); enableButtons();
} }
else if (event.getTarget() == contentPanel && event.getName().equals(Events.ON_DOUBLE_CLICK)) else if (event.getTarget() == contentPanel && event.getName().equals(Events.ON_DOUBLE_CLICK))
{ {