|
@@ -524,7 +524,7 @@ window.saveVisitForm = function(_trigger, _silent = false, _close = false, _done
|
|
|
|
|
|
$.post(form.attr('url'), form.serialize(), _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
- if(typeof window.updateAllSegmentsInResponse !== 'undefined' && noteSection.length) {
|
|
|
+ if(typeof window.updateAllSegmentsInResponse !== 'undefined') {
|
|
|
window.updateAllSegmentsInResponse(_data, true, _silent);
|
|
|
}
|
|
|
if(typeof window.refreshRHSSidebar !== 'undefined') {
|