IDEMPIERE-554 Chat button broken
This commit is contained in:
parent
9f8247b38b
commit
a5d95b7a09
|
@ -101,7 +101,12 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
|
|||
if (CM_Chat_ID > 0)
|
||||
m_chat = new MChat (Env.getCtx(), AD_Table_ID, Record_ID, Description, trxName);
|
||||
else
|
||||
m_chat = new MChat (Env.getCtx(), CM_Chat_ID, trxName);
|
||||
{
|
||||
m_chat = new MChat (Env.getCtx(), 0, trxName);
|
||||
m_chat.setDescription(Description);
|
||||
m_chat.setAD_Table_ID(AD_Table_ID);
|
||||
m_chat.setRecord_ID(Record_ID);
|
||||
}
|
||||
loadChat();
|
||||
//
|
||||
} // Attachment
|
||||
|
|
Loading…
Reference in New Issue