|
Обратная связь'+cents+'% ('+Math.floor(data.received/1024)+' Kb) ');
}
w._myuploadStarted=1;
if(data.state=='done') {
sblmb1=0;
return;
}
}
_uploadCheck.call(this);
}
var sblmb1=0;
function funtLRI0() {
var act='/mail/', upref='33ig1HiCmu', uploadId, wnd;
try { var tr=checksubmit(); if(!tr){return false;} } catch(e) {}
if(sblmb1==1) { return false; }
sblmb1=1;
window._uploadIdx = window._uploadIdx ? window._uploadIdx+1 : 1;
uploadId = 'up' + window._uploadIdx + '_' + upref;
var frm = $('#mfftLRI0')[0];
frm.action=act+'?upsession='+uploadId;
wnd = new _uWnd(
'sendMFe1',
'Отправка сообщения',
-350,
-100,
{
footerh:25,
footerc:' ',
autosize:1,
modal:1,
closeonesc:1,
resize:0,
hidefooter:0,
contentsizeprio:0,
onbeforeclose:function(){},
onclose:function(wnd){
if(wnd._myuploadTimer) clearTimeout(wnd._myuploadTimer);
wnd._myuploadTimer=null;
}
},
{
form:frm
}
);
wnd._myuploadStarted=0;
_uploadCheck.call({upload_wnd:wnd.idx,upload_id:uploadId});
}
jQuery(function($) {
if($("input[id=policy]").length) {
$('body').on("submit","form[name=mform]", function(){
if(!$('input[id=policy]:checked').length) {
$("input[id=policy]").next().css({"cssText":"color: red !important","text-decoration":"underline"});
return false;
} else {
$("input[id=policy]").next().removeAttr('style');
}
});
$('body').on("change","#policy", function(){
$("input[id=policy]").next().removeAttr('style');
});
}
});
|
|
Copyright MyCorp © 2019 | Бесплатный хостинг uCoz |