Skip to content

Commit

Permalink
Merge pull request #288 from harena-lab/development
Browse files Browse the repository at this point in the history
Hotfix: POCUS training feedback share error
  • Loading branch information
HeitorMatt authored Aug 13, 2021
2 parents 78c18c5 + 3b92f75 commit ce09ba1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
4 changes: 4 additions & 0 deletions src/adonisjs/public/author/drafts/category/cases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
<link rel="stylesheet" href="/infra/css/common-player.css">
<link rel="stylesheet" href="/infra/css/common-author.css">

<script>
Basic.service.rootPath = '../../../../'
</script>

<script src="/author/js/dcc-author-server-proxy.js"></script>

<script src="/author/js/create.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions src/adonisjs/public/author/drafts/category/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
<link rel="stylesheet" href="/infra/css/common-player.css">
<link rel="stylesheet" href="/infra/css/common-author.css">

<script src="../../js/dcc-author-server-proxy.js"></script>
<script src="/author/js/dcc-author-server-proxy.js"></script>

<script src="../../js/create.js"></script>
<script src="../../js/template-case.js"></script>
<script src="../../js/draft.js"></script>
<script src="/author/js/create.js"></script>
<script src="/author/js/template-case.js"></script>
<script src="/author/js/draft.js"></script>
</head>

<body>
Expand Down
3 changes: 2 additions & 1 deletion src/adonisjs/public/author/drafts/feedback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<link rel="stylesheet" href="/infra/css/common-author.css">

<script>
Basic.service.rootPath = '../../'
Basic.service.rootPath = '../../../'
</script>

<script src="/author/js/dcc-author-server-proxy.js"></script>
Expand Down Expand Up @@ -170,6 +170,7 @@ <h5 class="" id="modal-notice-txt"></h5>
<form class="pl-2 align-items-center row" id="filter-form">
<div class="p-2 ml-4">Filter by: </div>
<div class="pr-3">
<dcc-rest id="harena-institutions" bind="harena-institutions"></dcc-rest>
<!-- <dcc-rest id="harena-institutions" bind="harena-institutions"></dcc-rest>
<dcc-dhtml id="harena-dhtml-institutions" connect="retrieve:harena-institutions:service/request/get">
Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/infra/conditional-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class LayoutController {
toolbarDiv.innerHTML =
`<div class="home-author-sub-text align-self-center" style="color:#808080">FEEDBACK:</div>
<dcc-rest id="harena-ask-feedback" bind="harena-ask-feedback"
subscribe="service/request/post:retrieve"></dcc-rest>
subscribe="service/request/post"></dcc-rest>
<dcc-rest id="harena-case-property" bind="harena-case-property" subscribe="service/request/post"></dcc-rest>
<form id="form-case-property">
<input type="hidden" id="property_value" name="property_value" value="">
Expand Down
2 changes: 0 additions & 2 deletions src/adonisjs/public/infra/dcc-rest-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,6 @@
'subject_grade':'professor',
'subject': sessionStorage.getItem('harena-user-institution-id'),
'table_id': new URL(document.location).searchParams.get('id'),

'case_id': new URL(document.location).searchParams.get('id'),
},
oas: {
paths: {
Expand Down

0 comments on commit ce09ba1

Please sign in to comment.