diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-31 19:39:19 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-31 19:39:19 +0100 |
| commit | b47bc4092c8a48801ea199578e540c82b2a53fc1 (patch) | |
| tree | 5c8d24e3cbccaa0ca00100448d1d2088ceda9b8c /ishtar_pdl/static/pdl/JQueryCorporation.js | |
| parent | b98bfcfe20c9af59f69b7606c0351b4bbf344d00 (diff) | |
| download | Ishtar-b47bc4092c8a48801ea199578e540c82b2a53fc1.tar.bz2 Ishtar-b47bc4092c8a48801ea199578e540c82b2a53fc1.zip | |
UI: change colors - manage footer
Diffstat (limited to 'ishtar_pdl/static/pdl/JQueryCorporation.js')
| -rw-r--r-- | ishtar_pdl/static/pdl/JQueryCorporation.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ishtar_pdl/static/pdl/JQueryCorporation.js b/ishtar_pdl/static/pdl/JQueryCorporation.js deleted file mode 100644 index e65001506..000000000 --- a/ishtar_pdl/static/pdl/JQueryCorporation.js +++ /dev/null @@ -1,14 +0,0 @@ -var current_status = 'corporation'; - -$(function() { - var $radios = $('input:radio[name=person_type]'); - if($radios.is(':checked') === false) { - $radios.filter('[value='+ current_status +']').prop('checked', true); - } - - $radios.change(function(){ - var loc = window.location; - window.location = loc.protocol + '//' + loc.host + loc.pathname + "?status=" + $('input:radio[name=person_type]:checked').val(); - }); - $("#corporation_div").show(); -}); |
