.
This commit is contained in:
@ -646,6 +646,7 @@
|
||||
var canViewInspection = <%=CanViewInspection?"true":"false"%>;
|
||||
var canViewPM = <%=CanViewPM?"true":"false"%>;
|
||||
var showTooltipIcons = true;
|
||||
var MSGWebSocketURL = "<%=MSGWebSocketURL%>";
|
||||
|
||||
var IsSupperAdmin =<%=IsSupperAdmin ?"true":"false"%>;
|
||||
var isAllowed = <%=CanAjdustAttr ?"true":"false"%>;
|
||||
@ -950,7 +951,7 @@
|
||||
|
||||
$(".showall").click(null, function (e) {
|
||||
$("#selOnroad").val("-1");
|
||||
$("#selAttachment").val("0");
|
||||
$("#selAttachment").val("-1");
|
||||
$('#txtMachineSearchText').val("");
|
||||
$('#txtJobSiteSearchText').val("");
|
||||
$('#txtAssetGroupSearchText').val("");
|
||||
@ -1156,9 +1157,8 @@
|
||||
$('#sendlocation_otheremailaddress').val('');
|
||||
$('#sendlocation_othertextaddress').val('');
|
||||
$('#sendlocation_desc').val('');
|
||||
$('#mask_bg').show();
|
||||
showmaskbg(true);
|
||||
$('#dialog_sendlocation .dialog-title span.title').text(title);
|
||||
//$('#mask_bg').show();
|
||||
$('#dialog_sendlocation')
|
||||
.attr('act', 'edit')
|
||||
.css({
|
||||
@ -2043,24 +2043,24 @@
|
||||
|
||||
|
||||
$('#dialog_parameter').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
pivotsDialogOpend = false;
|
||||
});
|
||||
|
||||
$('#dialog_sendlocation').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#dialog_requestvideo').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#dialog_addodometer').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#dialog_addenginehours').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
}); $('#dialogadd_odometerdate').datetimepicker({
|
||||
timepicker: false,
|
||||
format: 'm/d/Y',
|
||||
@ -2081,15 +2081,15 @@
|
||||
});
|
||||
|
||||
$('#dialog_importshapefile').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#dialog_lochis').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#dialog_assetattachments').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$("#dialog_timeperiod").change(null, function (e) {
|
||||
@ -2272,7 +2272,7 @@
|
||||
{ name: 'DisplayName', caption: GetTextByKey("P_MV_CONTACTNAME", "Contact Name"), valueIndex: 'DisplayName', css: { 'width': 148, 'text-align': 'left' } },
|
||||
{ name: 'ContactTypeName', caption: GetTextByKey("P_MV_CONTACTTYPE", "Contact Type"), valueIndex: 'ContactTypeName', css: { 'width': 148, 'text-align': 'left' } },
|
||||
{ name: 'Text', caption: GetTextByKey("P_MV_TEXT", "Text"), valueIndex: 'Text', type: 3, css: { 'width': 45, 'text-align': 'center' } },
|
||||
{ name: 'Email', caption: GetTextByKey("P_MV_EMAIL", "Email"), valueIndex: 'Email', type: 3, css: { 'width': 55, 'text-align': 'center' } }
|
||||
{ name: 'Email', caption: GetTextByKey("P_MV_EMAIL", "Email"), valueIndex: 'Email', type: 3, css: { 'width': 60, 'text-align': 'center' } }
|
||||
];
|
||||
var columns = [];
|
||||
// head
|
||||
@ -2343,9 +2343,8 @@
|
||||
$('#sendlocation_desc').val('Fleet Intelligence on behalf of [site name]. [User Name] sent info to [jobsite]. Please do not reply to this text.');
|
||||
else
|
||||
$('#sendlocation_desc').val('');
|
||||
$('#mask_bg').show();
|
||||
showmaskbg(true);
|
||||
$('#dialog_sendlocation .dialog-title span.title').text(title);
|
||||
//$('#mask_bg').show();
|
||||
$('#dialog_sendlocation').data("cid", cid)
|
||||
.attr('act', 'edit')
|
||||
.css({
|
||||
@ -2359,7 +2358,7 @@
|
||||
var cid = $('#dialog_sendlocation').data("cid");
|
||||
if (grid_dt.source.length == 0) {
|
||||
$('#dialog_sendlocation').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
return;
|
||||
}
|
||||
var title = "";
|
||||
@ -2412,7 +2411,7 @@
|
||||
|
||||
if (emailaddress.length == 0 && textaddress.length == 0) {
|
||||
$('#dialog_sendlocation').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2439,7 +2438,7 @@
|
||||
_dialog.showAlert(data, GetTextByKey("P_MV_ERROR", 'Error'));
|
||||
|
||||
$('#dialog_sendlocation').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
}, function (err) {
|
||||
if (_setype == 1)
|
||||
_dialog.showAlert(GetTextByKey("P_MV_FAILEDTOSENDJOBSITE", 'Failed to send jobsite.'), title);
|
||||
@ -2712,9 +2711,9 @@
|
||||
</div>
|
||||
<div style="margin-left: 10px;">
|
||||
<select id="selAttachment" style="width: 120px;margin-left: 5px;">
|
||||
<option value="0" data-lgid="P_SELECT_ALL">All</option>
|
||||
<option value="-1" data-lgid="P_SELECT_ALL">All</option>
|
||||
<option value="1" data-lgid="P_MV_ATTACHMENTSONLY">Attachments Only</option>
|
||||
<option value="2" data-lgid="P_MV_NOATTACHMENTS">No Attachments</option>
|
||||
<option value="0" data-lgid="P_MV_NOATTACHMENTS">No Attachments</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user