From 63de5641a08ff4e647e768011d00fc227bed6920 Mon Sep 17 00:00:00 2001 From: abijah Date: Fri, 28 Aug 2009 22:11:18 +0000 Subject: [PATCH] Temporary fix for last minute bug git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@817 97e9348a-65ac-dc4b-aefc-98561f571b83 --- site/views/leases/invoice.ctp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/site/views/leases/invoice.ctp b/site/views/leases/invoice.ctp index 48974e8..317a638 100644 --- a/site/views/leases/invoice.ctp +++ b/site/views/leases/invoice.ctp @@ -61,14 +61,14 @@ function verifyRequest(formData, jqForm, options) { } // Terrible way to accomplish this... - for (var j = 0; j < 20; ++j) { - if (formData[i]['name'] == "data[Entry]["+j+"][amount]" && - !(formData[i]['value'] > 0)) { - //$("#debug").append('

Bad Amount'); - alert("Must enter a valid amount"); - return false; - } - } +/* for (var j = 0; j < 20; ++j) { */ +/* if (formData[i]['name'] == "data[Entry]["+j+"][amount]" && */ +/* !(formData[i]['value'] > 0)) { */ +/* //$("#debug").append('

Bad Amount'); */ +/* alert("Must enter a valid amount"); */ +/* return false; */ +/* } */ +/* } */ } //$("#debug").append('OK');