From 8570e79170e28ad0437a6b663066e7d54b0c682d Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 27 Nov 2011 23:28:24 +0100 Subject: reorganize the static folder structure --- budget/static/js/ihatemoney.js | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 budget/static/js/ihatemoney.js (limited to 'budget/static/js/ihatemoney.js') diff --git a/budget/static/js/ihatemoney.js b/budget/static/js/ihatemoney.js new file mode 100644 index 0000000..0bbd542 --- /dev/null +++ b/budget/static/js/ihatemoney.js @@ -0,0 +1,44 @@ + // 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