Author: sdumitriu
Date: 2008-02-17 18:45:27 +0100 (Sun, 17 Feb 2008)
New Revision: 7777
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/editactions.vm
Log:
XWIKI-2127: Edit action buttons are split on two lines in IE6
Fixed.
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/editactions.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/editactions.vm
2008-02-17 17:23:32 UTC (rev 7776)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/editactions.vm
2008-02-17 17:45:27 UTC (rev 7777)
@@ -56,9 +56,11 @@
#if ($sectionNumber && ($sectionNumber != 0))
#set($param = "section=$sectionNumber")
#end
+<div>
<span class="buttonwrapper"><input class="button" type="submit"
name="formactioncancel" value="$msg.get("cancel")"
onclick="document.forms.${formname}.action='$doc.getURL("cancel")'; if
(document.forms.${formname}.onsubmit)
document.forms.${formname}.onsubmit();"/></span>
#if($previewenabled) <span class="buttonwrapper"><input class="button"
type="submit" name="formactionpreview" value="$msg.get("preview")"
onclick="document.forms.${formname}.action='$doc.getURL("preview", $param)'; if
(document.forms.${formname}.onsubmit) document.forms.${formname}.onsubmit();if
(checkDocumentContent()) document.forms.${formname}.submit(); return
false;"/></span>
#end
<span class="buttonwrapper"><input class="button" type="submit"
name="formactionsac" value="$msg.get("saveandcontinue")"
onclick="document.forms.${formname}.action='$doc.getURL("saveandcontinue",
$param)'; if (document.forms.${formname}.onsubmit)
document.forms.${formname}.onsubmit();if (checkDocumentContent())
document.forms.${formname}.submit(); return false;"/></span>
<span class="buttonwrapper"><input class="button" type="submit"
name="formactionsave" value="$msg.get("saveandview")"
onclick="document.forms.${formname}.action='$doc.getURL("${saveaction}",
$param)'; if (document.forms.${formname}.onsubmit)
document.forms.${formname}.onsubmit();if (checkDocumentContent())
document.forms.${formname}.submit(); return false;"/></span>
+</div>
#end
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications