From 1e0898dd8770a19c45c934c4683def77b9497b3e Mon Sep 17 00:00:00 2001 From: Arnaud Bos Date: Thu, 20 Oct 2011 04:18:12 +0200 Subject: Last selected payer and translations. Fix #47. - Last selected payer selected by default when creating a new bill - Fix some translation typos and modify a few labels --- budget/static/ihatemoney/custom.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 budget/static/ihatemoney/custom.js (limited to 'budget/static') diff --git a/budget/static/ihatemoney/custom.js b/budget/static/ihatemoney/custom.js new file mode 100644 index 0000000..6a813b9 --- /dev/null +++ b/budget/static/ihatemoney/custom.js @@ -0,0 +1,17 @@ + // Add a script to select all or non of the checkboxes in the add_bill form + function toggle() + { + var els = document.getElementsByName('payed_for'); + for(var i =0;i