IDEMPIERE-5202 Implement auto save of current tab (#1215)
- Fix auto save sometimes not happening for string field update
This commit is contained in:
parent
96b91f96ae
commit
b6ce1e7cbe
|
@ -354,7 +354,8 @@ public final class DataStatusEvent extends EventObject implements Serializable
|
|||
Util.equals(e.m_AD_Message, m_AD_Message) &&
|
||||
e.m_changedColumn == m_changedColumn &&
|
||||
Util.equals(e.m_columnName, m_columnName) &&
|
||||
e.m_currentRow == m_currentRow;
|
||||
e.m_currentRow == m_currentRow &&
|
||||
e.isInitEdit == isInitEdit;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -206,8 +206,9 @@ public class WStringEditor extends WEditor implements ContextMenuListener
|
|||
|
||||
changeEvent.setIsInitEdit(isStartEdit);
|
||||
|
||||
super.fireValueChange(changeEvent);
|
||||
oldValue = getComponent().getValue(); // IDEMPIERE-963 - check again the value could be changed by callout
|
||||
super.fireValueChange(changeEvent);
|
||||
if (!isStartEdit)
|
||||
oldValue = getComponent().getValue(); // IDEMPIERE-963 - check again the value could be changed by callout
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue