.
This commit is contained in:
@ -214,12 +214,12 @@
|
||||
function showRightPopup(state) {
|
||||
if (state) {
|
||||
$('#content').css('overflow', 'hidden');
|
||||
$("#mask_bg").show();
|
||||
showmaskbg(true);
|
||||
$("#right_popup").css("left", $("#set_left").width()).show();
|
||||
}
|
||||
else {
|
||||
$('#content').css('overflow', '');
|
||||
$("#mask_bg").hide();
|
||||
showmaskbg(false);
|
||||
$("#right_popup").hide();
|
||||
}
|
||||
}
|
||||
@ -355,7 +355,7 @@
|
||||
{ name: 'UID', caption: GetTextByKey("P_IPT_CONTACTNAME", "Contact Name"), valueIndex: 'UID', css: { 'width': 320, 'text-align': 'left' } },
|
||||
//{ name: 'ContactType', caption: GetTextByKey("P_IPT_CONTACTTYPE", "Contact Type"), valueIndex: 'ContactType', 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: 'Selected', caption: GetTextByKey("P_IPT_EMAIL", "Email"), valueIndex: 'Selected', type: 3, css: { 'width': 45, 'text-align': 'center' } }
|
||||
{ name: 'Selected', caption: GetTextByKey("P_IPT_EMAIL", "Email"), valueIndex: 'Selected', type: 3, css: { 'width': 60, 'text-align': 'center' } }
|
||||
];
|
||||
var columns = [];
|
||||
// head
|
||||
@ -428,7 +428,7 @@
|
||||
GetFuelReport();
|
||||
|
||||
$('#dialog_sendemail').dialog(function () {
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#sendlocation_search').bind('input propertychange', function () {
|
||||
@ -510,6 +510,7 @@
|
||||
emails.push(m);
|
||||
}
|
||||
}
|
||||
emails = emails.sort(function (a, b) { return (b.Selected ? 1 : 0) - (a.Selected ? 1 : 0) })
|
||||
showEmailList(emails);
|
||||
}
|
||||
}
|
||||
@ -526,9 +527,8 @@
|
||||
|
||||
$('#sendlocation_otheremailaddress').val('');
|
||||
$('#sendlocation_desc').val('');
|
||||
$('#mask_bg').show();
|
||||
$('#dialog_sendemail .dialog-title span.title').text(GetTextByKey("P_IPT_SENDEMAIL", 'Send Email'));
|
||||
//$('#mask_bg').show();
|
||||
showmaskbg(true);
|
||||
$('#dialog_sendemail')
|
||||
.attr('act', 'edit')
|
||||
.css({
|
||||
@ -546,7 +546,7 @@
|
||||
function onSendEmail() {
|
||||
if (grid_dtemail.source.length == 0) {
|
||||
$('#dialog_sendemail').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -570,7 +570,7 @@
|
||||
|
||||
if (emailaddress.length == 0) {
|
||||
$('#dialog_sendemail').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -582,7 +582,7 @@
|
||||
else {
|
||||
//showAlert(GetTextByKey("P_IPT_MESSAGESENT", 'Message sent.'), GetTextByKey("P_IPT_SENDEMAIL", 'Send Email'));
|
||||
$('#dialog_sendemail').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
}
|
||||
|
||||
}, function (err) {
|
||||
|
Reference in New Issue
Block a user