projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e143dfe
)
allow negative values
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 12 Feb 2009 22:28:45 +0000
(22:28 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 12 Feb 2009 22:28:45 +0000
(22:28 +0000)
js/budget.js
patch
|
blob
|
history
diff --git
a/js/budget.js
b/js/budget.js
index ad3700748fa3b501b4cc32ade2ad217655cf6c48..6e8f96709a19e6131a66db6d483a267bfba5baf1 100644
(file)
--- 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);
}