07-15-2013 11:10 AM
The following error is showing up in the event log no matter what browser is used:
ERROR ASP.masters_login_master - TimeZone: Unable to get timezone from client, using server timezone.
The browser console is showing: ReferenceError: require is not defined for timezone.js.
How can this be fixed?
Solved! Go to Solution.
07-18-2013 10:45 AM
$(document).ready(function() {
var sTzInfo = GetTimeZoneInfo();
// Call SetWinAuthTimeZone() if it is defined (it is defined in WinAuthLoad.aspx)
if (typeof SetWinAuthTimeZone === "function") {
SetWinAuthTimeZone(sTzInfo);
}
});
07-23-2013 01:48 PM
Tom I'm a little confused here.
I checked on this because there was a logged defect and I wanted to make sure to include your workaround.
But this is the code that I found in an existing v8 jscript\timezone.js file
$(document).ready(function () { var sTzInfo = GetTimeZoneInfo(); // Call SetWinAuthTimeZone() if it is defined (it is defined in WinAuthLoad.aspx) if (typeof SetWinAuthTimeZone === "function") { SetWinAuthTimeZone(sTzInfo); }
By any chance could that other code have been something from a previous version?
Please let me know.
Thanks,
Kelly
07-23-2013 06:22 PM - edited 07-23-2013 06:23 PM
I was seeing the dojo code in v8 system with core/model 03 applied. I believe the code is in the initial install of v8 becuase I could not find it in the code/model 03 bundles. The code was seen on two different SLX cloud systems.
07-24-2013 07:07 AM
Tom,
I'll check to see if I had any updates installed. And I'll check with the cloud team as well.
Thanks,
Kelly