[Jifty-commit] r1339 - in jifty/trunk: . share/web/templates/__jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Jun 21 17:59:36 EDT 2006


Author: trs
Date: Wed Jun 21 17:59:35 2006
New Revision: 1339

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/static/css/autocomplete.css
   jifty/trunk/share/web/templates/__jifty/autocomplete.xml

Log:
 r13278 at zot:  tom | 2006-06-21 17:59:19 -0400
 Use a class so it's easier to override the behaviour


Modified: jifty/trunk/share/web/static/css/autocomplete.css
==============================================================================
--- jifty/trunk/share/web/static/css/autocomplete.css	(original)
+++ jifty/trunk/share/web/static/css/autocomplete.css	Wed Jun 21 17:59:35 2006
@@ -22,3 +22,7 @@
     color: white;
 }
 
+.autocomplete .hidden_value {
+    display: none;
+}
+

Modified: jifty/trunk/share/web/templates/__jifty/autocomplete.xml
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/autocomplete.xml	(original)
+++ jifty/trunk/share/web/templates/__jifty/autocomplete.xml	Wed Jun 21 17:59:35 2006
@@ -12,7 +12,7 @@
 %    if (!ref($item)) {
 <li><% $item %></li>
 %    } elsif (exists $item->{label}) {
-<li><span class="informal"><% $item->{label} %></span><span style="visibility: hidden"><% $item->{value} %></span></li>
+<li><span class="informal"><% $item->{label} %></span><span class="hidden_value"><% $item->{value} %></span></li>
 %    } else {
 <li><% $item->{value} %></li>
 %    }


More information about the Jifty-commit mailing list