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/18 05:17:15 UTC
svn commit: r1494004 -
/incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js
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 = {