climate-commits mailing list archives

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

URL: http://svn.apache.org/r1494011
Log:
Bind 'unwatch' function in ParameterSelectCtrl

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=1494011&r1=1494010&r2=1494011&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:48 2013
@@ -205,7 +205,7 @@ function($rootScope, $scope, $http, $tim
 		$rootScope.$broadcast('redrawOverlays', []);
 	}
 
-	$scope.$watch('datasets', 
+	$scope.unwatchDatasets = $scope.$watch('datasets', 
 		function() { 
 			var numDatasets = $scope.datasets.length;
 			$scope.displayParams.areValid = false;



Mime
View raw message