climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1496267 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/DatasetSelectCtrl.js
Date Mon, 24 Jun 2013 22:58:33 GMT
Author: joyce
Date: Mon Jun 24 22:58:33 2013
New Revision: 1496267

URL: http://svn.apache.org/r1496267
Log:
CLIMATE-152 progress - Add clearDataset function

- Add clearDataset function to DatasetSelectCtrl.

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

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/DatasetSelectCtrl.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/DatasetSelectCtrl.js?rev=1496267&r1=1496266&r2=1496267&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/DatasetSelectCtrl.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/DatasetSelectCtrl.js Mon
Jun 24 22:58:33 2013
@@ -23,4 +23,8 @@ function($scope, selectedDatasetInformat
 	$scope.shouldDisableClearButton = function() {
 		return (selectedDatasetInformation.getDatasetCount() == 0);
 	}
+
+	$scope.clearDatasets = function() {
+		selectedDatasetInformation.clearDatasets();
+	}
 }]);



Mime
View raw message