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:48 UTC

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

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;