Skip to content

Commit

Permalink
UI3-219:
Browse files Browse the repository at this point in the history
* Fixed an issue where the UI failed to load with message "Attempted to access sessionManager before it was initialized" if cookies are disabled.
  • Loading branch information
bp2008 committed Jun 26, 2022
1 parent 5709b6a commit 43bd020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ui3.htm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
};
</script>
<script type="text/javascript">
var ui_version = "218";
var ui_version = "219";
var bi_version = "%%VERSION%%";
var appPath_raw = "%%VIRTDIR%%";
var local_bi_session = "%%SESSION%%";
Expand Down
5 changes: 1 addition & 4 deletions ui3/ui3.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ var currentServer =
{
if (!navigator.cookieEnabled || forceAddArg)
{
if (sessionManager)
return prefix + "session=" + sessionManager.GetLocalSession();
else
toaster.Error("Attempted to access sessionManager before it was initialized.");
return prefix + "session=" + local_bi_session;
}
return "";
}
Expand Down

0 comments on commit 43bd020

Please sign in to comment.