.
This commit is contained in:
@ -188,16 +188,15 @@ define([], function () {
|
||||
};
|
||||
var p = [false, htmlencode(JSON.stringify(item))];
|
||||
inspectionrequest('UpdateFuelReportHeaderFooter', JSON.stringify(p), function (r) {
|
||||
loading.hide();
|
||||
if (r == 'OK') {
|
||||
showAlert(GetTextByKey("P_MV_SAVSUCCESSFULLY", 'Saved successfully.'), alerttitle, null, function () {
|
||||
loading.fadeOut(100);
|
||||
if (exit) {
|
||||
showRightPopup(false);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
showAlert(GetTextByKey("P_IPT_FUELRPT_SAVEERROR", 'Failed to save fuel report page settings.'), alerttitle, null, function () {
|
||||
loading.fadeOut(100);
|
||||
});
|
||||
}
|
||||
}, 1000);
|
||||
|
Reference in New Issue
Block a user