climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1494004 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js
Date Tue, 18 Jun 2013 03:17:15 GMT
Author: joyce
Date: Tue Jun 18 03:17:15 2013
New Revision: 1494004

URL: http://svn.apache.org/r1494004
Log:
Define lat/lon slider funcs on  for testing

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

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js?rev=1494004&r1=1494003&r2=1494004&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js Tue
Jun 18 03:17:15 2013
@@ -52,7 +52,7 @@ function($rootScope, $scope, $http, $tim
 		min: 0.25,
 		max: 180,
 		slide: function(event, ui) {
-			updateLatSliderDisplayValue(ui.value);
+			$scope.updateLatSliderDisplayValue(ui.value);
 		},
 	});
 
@@ -62,19 +62,19 @@ function($rootScope, $scope, $http, $tim
 		min: 0.25,
 		max: 360,
 		slide: function(event, ui) {
-			updateLonSliderDisplayValue(ui.value);
+			$scope.updateLonSliderDisplayValue(ui.value);
 		},
 	});
 
-	var updateLatSliderDisplayValue = function(value) {
+	$scope.updateLatSliderDisplayValue = function(value) {
 		$scope.latSliderVal = value;
 		$scope.$apply();
-	}
+	};
 
-	var updateLonSliderDisplayValue = function(value) {
+	$scope.updateLonSliderDisplayValue = function(value) {
 		$scope.lonSliderVal = value;
 		$scope.$apply();
-	}
+	};
 
 	// Settings for jQuery datepicker directives!
 	$scope.datepickerSettings = {



Mime
View raw message