Подаю заявку на загранпаспорт через госуслуги, столкнулся с...

Подаю заявку на загранпаспорт через госуслуги, столкнулся с проблемой, изучаю опыт предыдущих поколений (актуально с ноября!):

«В глаза сразу бросается опечатка программиста: var res = start - end;
Где start и end — даты в месяцах (gosuslugitime :) ), а ниже, соответственно: return ((res <=0) && (!checkLastDate || ((currentDate - end) <=1)));
Таким образом, выяснили, что для того, чтобы успешно отправить эту форму, надо поменять местами даты выхода и увольнения, либо воспользоваться дебаггером».

Если кому будет актуально, проблема решается выполнением такого кода:
validateWorkInterval = function (e,B,A){return true;}
Чтобы исполнить код в браузере Chrome, нажмите Ctrl+Shift+J, вставьте код в консоль в самом низу, и нажмите Enter.
I am applying for a passport through public services, I have encountered a problem, I am studying the experience of previous generations (actually since November!):

“A programmer’s typo immediately catches the eye: var res = start - end;
Where start and end are dates in months (gosuslugitime :)), and below, respectively: return ((res <= 0) && (! CheckLastDate || ((currentDate - end) <= 1)));
Thus, we found out that in order to successfully send this form, you need to swap the dates of release and dismissal, or use the debugger. "

If it is relevant to anyone, the problem is solved by executing this code:
validateWorkInterval = function (e, B, A) {return true;}
To execute the code in the Chrome browser, press Ctrl + Shift + J, paste the code into the console at the very bottom, and press Enter.
У записи 12 лайков,
0 репостов.
Эту запись оставил(а) на своей стене Андрей Мима

Понравилось следующим людям