Invalid "Record on parent tab was changed"

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3017560
This commit is contained in:
teo_sarca 2010-06-17 12:01:25 +00:00
parent a5ad72c20a
commit dfd780d8ab
1 changed files with 5 additions and 1 deletions

View File

@ -962,7 +962,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
try try
{ {
if (hasChangedCurrentTabAndParents()) if (hasChangedCurrentTabAndParents())
return false; {
// Fail only if it's a true change - teo_sarca [ 3017560 ]
if (manualCmd || m_mTable.hasChanged(m_currentRow))
return false;
}
boolean retValue = (m_mTable.dataSave(manualCmd) == GridTable.SAVE_OK); boolean retValue = (m_mTable.dataSave(manualCmd) == GridTable.SAVE_OK);
if (manualCmd) if (manualCmd)