From: Joe Hunt Date: Thu, 12 Feb 2009 22:28:45 +0000 (+0000) Subject: allow negative values X-Git-Tag: v2.4.2~19^2~1539 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=b45e05477e53bf3d45341209582495dd93819266;p=fa-stable.git allow negative values --- diff --git a/js/budget.js b/js/budget.js index ad370074..6e8f9670 100644 --- a/js/budget.js +++ b/js/budget.js @@ -17,7 +17,6 @@ function blur_budget(i) { var amount = get_amount(i.name); var total = get_amount('Total', 1); - if(amount<0) amount = 0; price_format(i.name, amount, 0); price_format('Total', total+amount-i.getAttribute('_last'), 0, 1, 1); }