Bug 40933

Bug 53663


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@341 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-08-31 12:54:58 +00:00
parent 51e93b5d30
commit d063a4a91d
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@
function changeform_onsubmit()
{
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);
if (wt == null || wt == undefined || (""+wt).length <= 0)