Hided empfehlung/begruendung panels in lector overview after sending recommendation

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-02-03 12:36:42 +01:00
committed by cris-technikum
parent 9790fc650b
commit 1c0c8e9ad4
2 changed files with 7 additions and 5 deletions
@@ -115,8 +115,7 @@ $this->load->view(
<?php $this->load->view('lehre/anrechnung/reviewAnrechnungUebersichtData.php'); ?>
</div>
</div>
<!-- Empfehlung / Nicht Empfehlung Panel -->
<!-- Empfehlung / Nicht Empfehlung Panel -->
<div class="row">
<div class="panel panel-default panel-body" style="display: none"
id="reviewAnrechnungUebersicht-begruendung-panel">
@@ -28,8 +28,8 @@ function func_tableBuilt(table) {
label:"Details",
url:function(cell){
return BASE_URL + "/" + APPROVE_ANRECHNUNG_DETAIL_URI + "?anrechnung_id=" + cell.getData().anrechnung_id
},
target:"_blank"
}
// target:"_blank"
}
}, false, "status" // place column after status
);
@@ -213,6 +213,9 @@ $(function(){
'data': selected_data
};
// Hide empfehlung panel again
empfehlung_panel.slideUp('slow');
FHC_AjaxClient.ajaxCallPost(
FHC_JS_DATA_STORAGE_OBJECT.called_path + "/recommend",
data,
@@ -296,7 +299,7 @@ $(function(){
};
// Hide begruendung panel again
$(begruendung_panel).slideUp('slow');
begruendung_panel.slideUp('slow');
FHC_AjaxClient.ajaxCallPost(
FHC_JS_DATA_STORAGE_OBJECT.called_path + "/dontRecommend",