climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1572831 - /incubator/climate/trunk/ocw-ui/frontend/app/js/controllers/RcmedSelectionCtrl.js
Date Fri, 28 Feb 2014 05:48:53 GMT
Author: joyce
Date: Fri Feb 28 05:48:53 2014
New Revision: 1572831

URL: http://svn.apache.org/r1572831
Log:
CLIMATE-333 - Update RcmedSelectionCtrl endpoint calls

Modified:
    incubator/climate/trunk/ocw-ui/frontend/app/js/controllers/RcmedSelectionCtrl.js

Modified: incubator/climate/trunk/ocw-ui/frontend/app/js/controllers/RcmedSelectionCtrl.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw-ui/frontend/app/js/controllers/RcmedSelectionCtrl.js?rev=1572831&r1=1572830&r2=1572831&view=diff
==============================================================================
--- incubator/climate/trunk/ocw-ui/frontend/app/js/controllers/RcmedSelectionCtrl.js (original)
+++ incubator/climate/trunk/ocw-ui/frontend/app/js/controllers/RcmedSelectionCtrl.js Fri Feb
28 05:48:53 2014
@@ -24,7 +24,7 @@ function($rootScope, $scope, $http, $tim
 	$scope.fileAdded = false;
 
 	$scope.getObservations = function() {
-		$http.jsonp($rootScope.baseURL + '/getObsDatasets?callback=JSON_CALLBACK').
+		$http.jsonp($rootScope.baseURL + '/rcmed/datasets/?callback=JSON_CALLBACK').
 			success(function(data) {
 				$scope.availableObs = data;
 				$scope.availableObs.splice(0, 0, {longname: 'Please select an option'});
@@ -49,7 +49,7 @@ function($rootScope, $scope, $http, $tim
 	};
 
 	$scope.dataSelectUpdated = function() {
-		var urlString = $rootScope.baseURL + '/getDatasetParam?dataset=' + 
+		var urlString = $rootScope.baseURL + '/rcmed/parameters/?dataset=' +
 							$scope.datasetSelection["shortname"] + 
 							"&callback=JSON_CALLBACK";
 		$http.jsonp(urlString).



Mime
View raw message