diff options
| author | Arnaud Bos <arnaud.tlse@gmail.com> | 2011-10-20 04:18:12 +0200 |
|---|---|---|
| committer | Arnaud Bos <arnaud.tlse@gmail.com> | 2011-10-20 04:18:12 +0200 |
| commit | 1e0898dd8770a19c45c934c4683def77b9497b3e (patch) | |
| tree | dea515e23dedc51b9bf07504d589ea9f9d7e9edc /budget/static/ihatemoney | |
| parent | 440ccb6e220f1cd7ea7f15de6f46c4a98e51d47c (diff) | |
| download | ihatemoney-mirror-1e0898dd8770a19c45c934c4683def77b9497b3e.zip ihatemoney-mirror-1e0898dd8770a19c45c934c4683def77b9497b3e.tar.gz ihatemoney-mirror-1e0898dd8770a19c45c934c4683def77b9497b3e.tar.bz2 | |
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
Diffstat (limited to 'budget/static/ihatemoney')
| -rw-r--r-- | budget/static/ihatemoney/custom.js | 17 |
1 files changed, 17 insertions, 0 deletions
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<els.length;i++) + { + if(document.getElementById('toggleField').checked) + { + els[i].checked=true; + } + else + { + els[i].checked=false; + } + } + } + |
