IDEMPIERE-530 improve performance to enable attachments and chat buttons
This commit is contained in:
parent
b26888800d
commit
c7ed781ae4
|
@ -79,7 +79,7 @@ public class AChat extends CDialog
|
||||||
log.log(Level.SEVERE, "", ex);
|
log.log(Level.SEVERE, "", ex);
|
||||||
}
|
}
|
||||||
// Create Model
|
// Create Model
|
||||||
if (CM_Chat_ID == 0)
|
if (CM_Chat_ID > 0)
|
||||||
m_chat = new MChat (Env.getCtx(), AD_Table_ID, Record_ID, Description, trxName);
|
m_chat = new MChat (Env.getCtx(), AD_Table_ID, Record_ID, Description, trxName);
|
||||||
else
|
else
|
||||||
m_chat = new MChat (Env.getCtx(), CM_Chat_ID, trxName);
|
m_chat = new MChat (Env.getCtx(), CM_Chat_ID, trxName);
|
||||||
|
|
|
@ -97,7 +97,7 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
|
||||||
log.log(Level.SEVERE, "", ex);
|
log.log(Level.SEVERE, "", ex);
|
||||||
}
|
}
|
||||||
// Create Model
|
// Create Model
|
||||||
if (CM_Chat_ID == 0)
|
if (CM_Chat_ID > 0)
|
||||||
m_chat = new MChat (Env.getCtx(), AD_Table_ID, Record_ID, Description, trxName);
|
m_chat = new MChat (Env.getCtx(), AD_Table_ID, Record_ID, Description, trxName);
|
||||||
else
|
else
|
||||||
m_chat = new MChat (Env.getCtx(), CM_Chat_ID, trxName);
|
m_chat = new MChat (Env.getCtx(), CM_Chat_ID, trxName);
|
||||||
|
|
Loading…
Reference in New Issue