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/25 00:58:33 UTC

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

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();
+	}
 }]);