.
This commit is contained in:
@ -86,26 +86,6 @@
|
||||
color: gray;
|
||||
}
|
||||
|
||||
#mask_over_bg {
|
||||
top: 32px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
background: #000;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#att_mask_bg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: fixed;
|
||||
background: #000;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#divcontent {
|
||||
margin: 8px;
|
||||
}
|
||||
@ -293,7 +273,7 @@
|
||||
|
||||
getAttachments();
|
||||
$('.function_title>.sbutton-ui').removeClass('disabled');
|
||||
$('#mask_over_bg').hide();
|
||||
showloading(false);
|
||||
}
|
||||
|
||||
var IsInteger = /^[0-9]+$/;
|
||||
@ -504,7 +484,7 @@
|
||||
fuelid = fl.FuelID;
|
||||
fuel = fl;
|
||||
setEnable(fl.IsComesFromAPI);
|
||||
$('#mask_over_bg').show();
|
||||
showloading(true);
|
||||
GetMachines(OnEdit);
|
||||
}
|
||||
else {
|
||||
@ -585,9 +565,9 @@
|
||||
//*************************Start Notes********************************//
|
||||
|
||||
function getFuelRecordComments() {
|
||||
$('#mask_over_bg').show();
|
||||
showloading(true);
|
||||
fuelrequest("GetFuelRecordComments", fuelid, function (data) {
|
||||
$('#mask_over_bg').hide();
|
||||
showloading(false);
|
||||
if (typeof (data) === "string") {
|
||||
return;
|
||||
}
|
||||
@ -601,7 +581,7 @@
|
||||
}
|
||||
$("#divcomments")[0].scrollTop = $("#divcomments")[0].scrollHeight;
|
||||
}, function (err) {
|
||||
$('#mask_over_bg').hide();
|
||||
showloading(false);
|
||||
});
|
||||
}
|
||||
|
||||
@ -626,9 +606,9 @@
|
||||
|
||||
var param = JSON.stringify([fuelid, comment]);
|
||||
param = htmlencode(param);
|
||||
$('#mask_over_bg').show();
|
||||
showloading(true);
|
||||
fuelrequest("AddFuelRecordComment", param, function (data) {
|
||||
$('#mask_over_bg').hide();
|
||||
showloading(false);
|
||||
if (data !== "") {
|
||||
showAlert(data, GetTextByKey("P_FR_ERROR", 'Error'));
|
||||
return;
|
||||
@ -636,7 +616,7 @@
|
||||
$('#dialog_comments').val("");
|
||||
getFuelRecordComments();
|
||||
}, function (err) {
|
||||
$('#mask_over_bg').hide();
|
||||
showloading(false);
|
||||
});
|
||||
}
|
||||
|
||||
@ -755,10 +735,6 @@
|
||||
</script>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
|
||||
<div id="mask_bg" style="display: none;">
|
||||
<%--<div class="loading c-spin"></div>
|
||||
--%>
|
||||
</div>
|
||||
<div>
|
||||
<div class="function_title">
|
||||
<span class="sbutton iconsave sbutton-ui" onclick="OnSave(0,this);" data-lgid="P_FR_SAVE">Save</span>
|
||||
@ -1000,13 +976,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%--<div id="mask_bg" style="display: none;"><div class="loading c-spin"></div></div>--%>
|
||||
</div>
|
||||
</div>
|
||||
<div id="mask_over_bg" style="display: none;">
|
||||
<div class="loading c-spin"></div>
|
||||
</div>
|
||||
<div id="att_mask_bg" style="display: none;">
|
||||
<div id="mask_bg" style="display: none;">
|
||||
<div class="loading c-spin"></div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
Reference in New Issue
Block a user