|
@@ -1452,7 +1452,8 @@ GROUP BY erx_category");
|
|
|
}, _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
// nothing to do
|
|
|
- fastReload();
|
|
|
+ // fastReload();
|
|
|
+ hideMask();
|
|
|
}
|
|
|
}, 'json');
|
|
|
},
|
|
@@ -1464,6 +1465,8 @@ GROUP BY erx_category");
|
|
|
this.currentPrescription = null;
|
|
|
this.currentPrescription = temp;
|
|
|
|
|
|
+ showMask();
|
|
|
+
|
|
|
// save erx
|
|
|
$.post('/api/erx/updateClinicalDetail', {
|
|
|
uid: this.currentPrescription.uid,
|
|
@@ -1471,7 +1474,8 @@ GROUP BY erx_category");
|
|
|
}, _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
// nothing to do
|
|
|
- fastReload();
|
|
|
+ // fastReload();
|
|
|
+ hideMask();
|
|
|
}
|
|
|
}, 'json');
|
|
|
},
|
|
@@ -1560,7 +1564,7 @@ GROUP BY erx_category");
|
|
|
|
|
|
$.post(form.attr('action'), form.serialize(), _data => {
|
|
|
if (!hasResponseError(_data)) {
|
|
|
- hideMask();
|
|
|
+
|
|
|
// refreshDynamicStagPopup();
|
|
|
// $('.visit-segment[data-segment-template-name="intake_medications"]').find('.refresh-segment').trigger('click');
|
|
|
|
|
@@ -1585,7 +1589,9 @@ GROUP BY erx_category");
|
|
|
}, _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
// nothing to do
|
|
|
- fastReload();
|
|
|
+ // fastReload();
|
|
|
+ hideMask();
|
|
|
+ form[0].reset();
|
|
|
}
|
|
|
}, 'json');
|
|
|
|