projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631c779
)
Added case '0' when new companionship is selected, all multi-selects are cleared.
author
Alan Pippin
<apippin@pippins.net>
Tue, 26 Oct 2010 23:24:51 +0000
(17:24 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Tue, 26 Oct 2010 23:24:51 +0000
(17:24 -0600)
templates/default/ht_sandbox.tpl
patch
|
blob
|
history
diff --git
a/templates/default/ht_sandbox.tpl
b/templates/default/ht_sandbox.tpl
index 739a887f414c54bc0d8fb3f08ad2029d69613aaa..7088901a00b40acd15ac0ae870e553d797dbbbba 100644
(file)
--- 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;
<!-- BEGIN switch_case_list -->
{switch_case_list}
<!-- END switch_case_list -->