Return-Path: X-Original-To: apmail-climate-commits-archive@minotaur.apache.org Delivered-To: apmail-climate-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6BAB10629 for ; Tue, 18 Jun 2013 03:17:38 +0000 (UTC) Received: (qmail 70561 invoked by uid 500); 18 Jun 2013 03:17:38 -0000 Delivered-To: apmail-climate-commits-archive@climate.apache.org Received: (qmail 70530 invoked by uid 500); 18 Jun 2013 03:17:37 -0000 Mailing-List: contact commits-help@climate.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@climate.incubator.apache.org Delivered-To: mailing list commits@climate.incubator.apache.org Received: (qmail 70523 invoked by uid 99); 18 Jun 2013 03:17:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 03:17:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 03:17:35 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EC60523888FE; Tue, 18 Jun 2013 03:17:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1494004 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/controllers/ParameterSelectCtrl.js Date: Tue, 18 Jun 2013 03:17:15 -0000 To: commits@climate.incubator.apache.org From: joyce@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130618031715.EC60523888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: joyce Date: Tue Jun 18 03:17:15 2013 New Revision: 1494004 URL: http://svn.apache.org/r1494004 Log: Define lat/lon slider funcs on for testing 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=1494004&r1=1494003&r2=1494004&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:15 2013 @@ -52,7 +52,7 @@ function($rootScope, $scope, $http, $tim min: 0.25, max: 180, slide: function(event, ui) { - updateLatSliderDisplayValue(ui.value); + $scope.updateLatSliderDisplayValue(ui.value); }, }); @@ -62,19 +62,19 @@ function($rootScope, $scope, $http, $tim min: 0.25, max: 360, slide: function(event, ui) { - updateLonSliderDisplayValue(ui.value); + $scope.updateLonSliderDisplayValue(ui.value); }, }); - var updateLatSliderDisplayValue = function(value) { + $scope.updateLatSliderDisplayValue = function(value) { $scope.latSliderVal = value; $scope.$apply(); - } + }; - var updateLonSliderDisplayValue = function(value) { + $scope.updateLonSliderDisplayValue = function(value) { $scope.lonSliderVal = value; $scope.$apply(); - } + }; // Settings for jQuery datepicker directives! $scope.datepickerSettings = {