Revert rev 12643 - Invalid "Record on parent tab was changed" 6334 aa2da671ac3a
http://sourceforge.net/support/tracker.php?aid=3017560 According to the description of the tracker the test scenario is not valid because it could be possible that process completed the document and in this case the warning is valid. Checking with the flag manualcmd is not good as this is used to indicate a navigation button was pushed. I tested again the issue described in tracker 1985481 and it needs further work, the validation is raised when the user push the save button, but not when the user pushes next or previous record buttons. http://sourceforge.net/support/tracker.php?aid=1985481
This commit is contained in:
parent
403ccaf162
commit
3d4c5fb123
|
@ -974,11 +974,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (hasChangedCurrentTabAndParents())
|
if (hasChangedCurrentTabAndParents())
|
||||||
{
|
|
||||||
// Fail only if it's a true change - teo_sarca [ 3017560 ]
|
|
||||||
if (manualCmd || m_mTable.hasChanged(m_currentRow))
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
boolean retValue = (m_mTable.dataSave(manualCmd) == GridTable.SAVE_OK);
|
boolean retValue = (m_mTable.dataSave(manualCmd) == GridTable.SAVE_OK);
|
||||||
if (manualCmd)
|
if (manualCmd)
|
||||||
|
|
Loading…
Reference in New Issue