[Rt-commit] rt branch, history-filter, updated. rt-3.8.8-102-g3f1d161

Shawn Moore sartak at bestpractical.com
Tue Jun 15 19:24:33 EDT 2010


The branch, history-filter has been updated
       via  3f1d1614d2e3f5e8d13eb8feb50719f6bad0999d (commit)
      from  d26c4bd47921e4ca74baec208bfb889784b95f92 (commit)

Summary of changes:
 share/html/Ticket/Elements/FilterHistory |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 3f1d1614d2e3f5e8d13eb8feb50719f6bad0999d
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Jun 15 19:25:21 2010 -0400

    Hide and show elements based on these ticky boxes

diff --git a/share/html/Ticket/Elements/FilterHistory b/share/html/Ticket/Elements/FilterHistory
index 4507cfc..bf1d813 100644
--- a/share/html/Ticket/Elements/FilterHistory
+++ b/share/html/Ticket/Elements/FilterHistory
@@ -56,7 +56,8 @@
 %   $label ||= $filter_type;
 
     <li>
-        <input type="checkbox" class="checkbox" name="FilterHistory-<%$filter_type%>" value="1" checked="checked" /><%$label%><br />
+        <input type="checkbox" class="checkbox" name="FilterHistory-<%$filter_type%>" value="1" checked="checked" onclick="if (this.checked) { $$('.Type-<%$filter_type%>').each(Element.show); } else { $$('.Type-<%$filter_type%>').each(Element.hide); }" /><%$label%><br />
+%# onclick="if (this.checked) { jQuery('.Type-<%$filter_type%>').show(); } else { jQuery('.Type-<%$filter_type%>').hide(); }"
     </li>
 % }
 </ul>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list