I reverted the issue PM-1947

This commit is contained in:
Paula V. Quispe
2015-04-16 10:55:19 -04:00
parent b2b421f039
commit a4aba45c61
2 changed files with 2 additions and 2 deletions

View File

@@ -321,7 +321,7 @@ class Task
} }
//Validating TAS_TRANSFER_FLY value //Validating TAS_TRANSFER_FLY value
if ($arrayProperty["TAS_TRANSFER_FLY"] == "TRUE") { if ($arrayProperty["TAS_TRANSFER_FLY"] == "FALSE") {
if (!isset($arrayProperty["TAS_DURATION"])) { if (!isset($arrayProperty["TAS_DURATION"])) {
throw (new \Exception("Invalid value specified for 'tas_duration'")); throw (new \Exception("Invalid value specified for 'tas_duration'"));
} }

View File

@@ -23,7 +23,7 @@ SELECT CALENDAR_UID, CALENDAR_NAME FROM availableCalendars
var toggleFields = function() var toggleFields = function()
{ {
if(getField('TAS_TRANSFER_FLY').checked == true) if(getField('TAS_TRANSFER_FLY').checked == false)
{ {
showRowById('TAS_DURATION'); showRowById('TAS_DURATION');
showRowById('TAS_TIMEUNIT'); showRowById('TAS_TIMEUNIT');