[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian at hibernate.org
Tue May 8 02:12:06 EDT 2007
User: cbauer
Date: 07/05/08 02:12:06
Modified: examples/wiki/view docEdit.xhtml
Log:
Safari fixes
Revision Changes Path
1.33 +3 -3 jboss-seam/examples/wiki/view/docEdit.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: docEdit.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/docEdit.xhtml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- docEdit.xhtml 7 May 2007 11:42:31 -0000 1.32
+++ docEdit.xhtml 8 May 2007 06:12:06 -0000 1.33
@@ -107,7 +107,8 @@
<ui:param name="tabId" value="docContentTab"/>
<ui:param name="fieldId" value="content"/>
<ui:define name="label">Content</ui:define>
- <script type="text/javascript">jQuery(function() {
+ <script type="text/javascript">if(!$.browser.safari){jQuery(function() {
+ jQuery("#contentTextEdit").append('<div id="contentTextEditResizeHandle"/>');
jQuery("#contentTextEdit").Resizable({
minHeight: 50,
handlers: {
@@ -117,7 +118,7 @@
jQuery("textarea", this).css({ height: size.height + "px" });
}
});
- });</script>
+ })};</script>
<div id="contentTextEdit">
<s:span rendered="#{documentHome.enabledPreview}">
<h:inputTextarea tabindex="3"
@@ -135,7 +136,6 @@
id="contentTextArea"
value="#{documentHome.formContent}"/>
</s:span>
- <div id="contentTextEditResizeHandle"/>
</div>
</s:decorate>
More information about the jboss-cvs-commits
mailing list