Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: fix static domain included in URL for patient portal onsite documents. #6829

Merged
merged 1 commit into from
Sep 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix static domain included in URL
  • Loading branch information
sjpadgett committed Sep 3, 2023
commit cdaeb0fb80974d6a8a35cabbab902dbc32a485e9
4 changes: 2 additions & 2 deletions portal/patient/scripts/app/onsitedocuments.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ var page = {
if (autoRender + auditRender > 0) {
auditRender = 0;
autoRender = 0;
location.assign("https://opensourcedemr.us/portal/patient/onsitedocuments?pid=" + encodeURIComponent(cpid))
location.assign(webroot_url + "/portal/patient/onsitedocuments?pid=" + encodeURIComponent(cpid))
}
});
// post to submit and save content remote form.
Expand All @@ -447,7 +447,7 @@ var page = {
if (autoRender + auditRender > 0) {
auditRender = 0;
autoRender = 0;
location.assign("https://opensourcedemr.us/portal/patient/onsitedocuments?pid=" + encodeURIComponent(cpid));
location.assign(webroot_url + "/portal/patient/onsitedocuments?pid=" + encodeURIComponent(cpid));
}

}
Expand Down