From 205d8e30dc73858521cccb0227633e2a8af703ec Mon Sep 17 00:00:00 2001 From: "chris.watts90@outlook.com" Date: Fri, 21 Apr 2017 09:20:56 +0100 Subject: [PATCH] refine the goToToday function. #83 --- .../WindowsDataCenter/WindowsDataCenter/www/spa.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/spa.js b/DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/spa.js index ebdfd1a..fcd0081 100644 --- a/DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/spa.js +++ b/DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/spa.js @@ -52,10 +52,10 @@ } location.hash = url; }; - self.goToToday = function(a, b, c) { + self.goToToday = function() { self.goToTimeLogs(self.chosenTimeLogUserId, null, - [{ key: "selectedDate", value: moment(new Date()).format("MM-DD-YYYY") }]); + null); }; self.assignErrorObject = function(errCode, errMessage, errorSource) { var errDat = {