[jboss-cvs] jboss-seam/examples/wiki/view/themes/default ...
Christian Bauer
christian at hibernate.org
Fri May 4 15:30:34 EDT 2007
User: cbauer
Date: 07/05/04 15:30:34
Modified: examples/wiki/view/themes/default template.xhtml
Log:
Fixed popups access keys
Revision Changes Path
1.23 +5 -2 jboss-seam/examples/wiki/view/themes/default/template.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: template.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/themes/default/template.xhtml,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- template.xhtml 4 May 2007 18:25:51 -0000 1.22
+++ template.xhtml 4 May 2007 19:30:34 -0000 1.23
@@ -34,8 +34,11 @@
var element = document.getElementById(realId);
return jQuery(element);
}
- var fadeIn = function(hash) { hash.w.fadeIn('fast',function(){ hash.o.show(); }); };
- var fadeOut = function(hash) { hash.w.fadeOut('fast',function(){ hash.o.remove(); }); };
+ var fadeInPopupDialog = function(hash) {
+ hash.w.fadeIn('fast',function(){ hash.o.show(); });
+ jQuery(".closeDialog", hash.w).attr("accesskey", "C"); // Dynamically assign accesskey
+ };
+ var fadeOutPopupDialog = function(hash) { hash.w.fadeOut('fast',function(){ hash.o.remove(); }); };
</script>
<script type="text/javascript" src="#{themePath}/js/jquery.js"></script>
<script type="text/javascript" src="#{themePath}/js/interface.js"></script>
More information about the jboss-cvs-commits
mailing list