Repository: climate Updated Branches: refs/heads/master 6ae76c6ef -> 5a3d4d030
CLIMATE-750 - Fix a string comparison that should be against a boolean. Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/ba93aeb2 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/ba93aeb2 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/ba93aeb2 Branch: refs/heads/master Commit: ba93aeb2e625a438a31c47e70f880aeeab8089b5 Parents: bd5ab80 Author: Vinicius Silva <[email protected]> Authored: Wed Feb 3 21:16:32 2016 -0200 Committer: Vinicius Silva <[email protected]> Committed: Wed Feb 3 21:16:32 2016 -0200 ---------------------------------------------------------------------- ocw-ui/frontend/app/scripts/controllers/observationselect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/ba93aeb2/ocw-ui/frontend/app/scripts/controllers/observationselect.js ---------------------------------------------------------------------- diff --git a/ocw-ui/frontend/app/scripts/controllers/observationselect.js b/ocw-ui/frontend/app/scripts/controllers/observationselect.js index 39d66b4..8555f12 100644 --- a/ocw-ui/frontend/app/scripts/controllers/observationselect.js +++ b/ocw-ui/frontend/app/scripts/controllers/observationselect.js @@ -184,8 +184,8 @@ angular.module('ocwUiApp') newDataset['time'] = $scope.timeSelect; newDataset['timeVals'] = {'start': $scope.timeVals[0], 'end': $scope.timeVals[1]}; - //Check if the file loading filaed. - if($scope.fileLoadFailed === 'false'){ + // Check if the file loading failed. + if($scope.fileLoadFailed === false){ selectedDatasetInformation.addDataset(newDataset); // Reset all the fields!!
