climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1504015 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/SettingsCtrl.js
Date Wed, 17 Jul 2013 06:34:51 GMT
Author: joyce
Date: Wed Jul 17 06:34:51 2013
New Revision: 1504015

URL: http://svn.apache.org/r1504015
Log:
CLIMATE-210 - Add selectedDatasetInformation service to SettingsCtrl.js

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

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/SettingsCtrl.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/SettingsCtrl.js?rev=1504015&r1=1504014&r2=1504015&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/SettingsCtrl.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/SettingsCtrl.js Wed Jul 17
06:34:51 2013
@@ -17,7 +17,8 @@
  * under the License.
 **/
 
-App.Controllers.controller('SettingsCtrl', ['$scope', 'evaluationSettings',
-function($scope, evaluationSettings) {
+App.Controllers.controller('SettingsCtrl', ['$scope', 'evaluationSettings', 'selectedDatasetInformation',
+function($scope, evaluationSettings, selectedDatasetInformation) {
 	$scope.settings = evaluationSettings.getSettings();
+	$scope.datasets = selectedDatasetInformation.getDatasets();
 }]);



Mime
View raw message