Bug 40933
Bug 53663 git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@341 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
51e93b5d30
commit
d063a4a91d
|
@ -145,7 +145,7 @@
|
||||||
function changeform_onsubmit()
|
function changeform_onsubmit()
|
||||||
{
|
{
|
||||||
wt = parseFloat(document.changeform.work_time.value.replace(',','.'));
|
wt = parseFloat(document.changeform.work_time.value.replace(',','.'));
|
||||||
if ([% remind_about_worktime %] && (!wt || wt == NaN || wt <= 0))
|
if ([% remind_about_worktime ? 1 : 0 %] && (!wt || wt == NaN || wt <= 0))
|
||||||
{
|
{
|
||||||
wt = prompt("Please, verify working time:", !wt || wt == NaN ? "0" : wt);
|
wt = prompt("Please, verify working time:", !wt || wt == NaN ? "0" : wt);
|
||||||
if (wt == null || wt == undefined || (""+wt).length <= 0)
|
if (wt == null || wt == undefined || (""+wt).length <= 0)
|
||||||
|
|
Loading…
Reference in New Issue