@@ -41,7 +41,10 @@
}
window.refreshRHSSidebar = function() {
- $('#note-rhs-sidebar').load('/note-rhs-sidebar/{{$patient->uid}}/{{$note->uid}}');
+ $.get('/note-rhs-sidebar/{{$patient->uid}}/{{$note->uid}}', _data => {
+ $('#note-rhs-sidebar').replaceWith(_data);
+ $(window).trigger('scroll');
+ });
};
window.updateSegmentByUid = function(_uid, _summaryHtml, _editHtml, _updateOnlySummary) {