From: Bill Erickson Date: Thu, 3 Aug 2017 15:25:56 +0000 (-0400) Subject: LP#1705524 Load workstation org timezone in startup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0ac027598e4d80960b8090bc45242bc2ad95cb67;p=evergreen%2Fpines.git LP#1705524 Load workstation org timezone in startup Piggy-back on the batch org setting call made during page startup to load / pre-cache the timezone setting for the workstation org unit. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/web/js/ui/default/staff/services/startup.js b/Open-ILS/web/js/ui/default/staff/services/startup.js index ea114d2639..038eb2dfc2 100644 --- a/Open-ILS/web/js/ui/default/staff/services/startup.js +++ b/Open-ILS/web/js/ui/default/staff/services/startup.js @@ -32,7 +32,8 @@ function($q, $rootScope, $location, $window, egIDL, egAuth, egEnv , egOrg function() { return egOrg.settings([ 'webstaff.format.dates', - 'webstaff.format.date_and_time' + 'webstaff.format.date_and_time', + 'lib.timezone' ]).then( function(set) { $rootScope.egDateFormat =