You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/06/04 02:29:41 UTC

svn commit: r1489251 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers.js

Author: joyce
Date: Tue Jun  4 00:29:40 2013
New Revision: 1489251

URL: http://svn.apache.org/r1489251
Log:
Resolves CLIMATE-71

Modified:
    incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers.js

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers.js?rev=1489251&r1=1489250&r2=1489251&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers.js Tue Jun  4 00:29:40 2013
@@ -462,6 +462,7 @@ function ObservationSelectCtrl($rootScop
 				// Handle time results
 				var data = arrayOfResults[2].data
 				$scope.times = [data.timename];
+				$scope.timeVals = [data.start_time, data.end_time];
 
 				if ($scope.times.length > 1) $scope.times.splice(0, 0, "Please select an option");
 				$scope.timeSelect = $scope.times[0];