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) &&
|
Util.equals(e.m_AD_Message, m_AD_Message) &&
|
||||||
e.m_changedColumn == m_changedColumn &&
|
e.m_changedColumn == m_changedColumn &&
|
||||||
Util.equals(e.m_columnName, m_columnName) &&
|
Util.equals(e.m_columnName, m_columnName) &&
|
||||||
e.m_currentRow == m_currentRow;
|
e.m_currentRow == m_currentRow &&
|
||||||
|
e.isInitEdit == isInitEdit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -207,6 +207,7 @@ public class WStringEditor extends WEditor implements ContextMenuListener
|
||||||
changeEvent.setIsInitEdit(isStartEdit);
|
changeEvent.setIsInitEdit(isStartEdit);
|
||||||
|
|
||||||
super.fireValueChange(changeEvent);
|
super.fireValueChange(changeEvent);
|
||||||
|
if (!isStartEdit)
|
||||||
oldValue = getComponent().getValue(); // IDEMPIERE-963 - check again the value could be changed by callout
|
oldValue = getComponent().getValue(); // IDEMPIERE-963 - check again the value could be changed by callout
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue