From: Alan Pippin Date: Tue, 26 Oct 2010 23:24:51 +0000 (-0600) Subject: Added case '0' when new companionship is selected, all multi-selects are cleared. X-Git-Tag: release_1_1_0^2~2^2~2 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/%22%22.%24thumbnail.%22/images/x.gif?a=commitdiff_plain;h=2c0ebf7179177cbd6ee333c4e45c3dab37e9fc41;p=eq%2F.git Added case '0' when new companionship is selected, all multi-selects are cleared. --- diff --git a/templates/default/ht_sandbox.tpl b/templates/default/ht_sandbox.tpl index 739a887..7088901 100644 --- a/templates/default/ht_sandbox.tpl +++ b/templates/default/ht_sandbox.tpl @@ -7,6 +7,11 @@ { //alert($('#companionship :selected').attr('id')+' - '+$('#companionship :selected').val()+' - '+$('#companionship :selected').text()); switch ($('#companionship :selected').val()) { + case '0': + $("#district option:selected").removeAttr("selected"); + $("#assignedHT option:selected").removeAttr("selected"); + $("#assignedFamilies option:selected").removeAttr("selected"); + break; {switch_case_list}