Author: sdumitriu
Date: 2008-02-27 14:03:01 +0100 (Wed, 27 Feb 2008)
New Revision: 8009

Modified:
   xwiki-platform/web/trunk/standard/src/main/webapp/templates/editmodes.vm
Log:
Fix error introduced in previous commit


Modified: 
xwiki-platform/web/trunk/standard/src/main/webapp/templates/editmodes.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/editmodes.vm    
2008-02-27 13:02:31 UTC (rev 8008)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/editmodes.vm    
2008-02-27 13:03:01 UTC (rev 8009)
@@ -13,8 +13,8 @@
 <h4 id="xwikieditorstitles">$msg.get("chooseeditor")</h4>
 <div class="floatcontainer">
 <ul class="xwikitabbar">
-<li id="xwikieditwysiwyg"#if($editor == "wysiwyg") class="active"#end><a 
href="$doc.getURL("edit", "editor=wysiwyg&amp;$param")" onclick="if 
(checkAdvancedContent('$msg.get("checkadvancedcontent")')==false) return false; 
Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", 
"editor=wysiwyg&amp;$languageparams&amp;$param")'; 
document.forms.${formname}.submit(); return 
false;});">$msg.get("editVisual")</a></li>
-<li id="xwikieditwiki"#if($editor == "wiki") class="active"#end><a 
href="$doc.getURL("edit", "editor=wiki&amp;$param")" 
onclick="Try.these(function() 
{document.forms.${formname}.action='$doc.getURL("edit", 
"editor=wiki&amp;$languageparams&amp;$param")'; 
document.forms.${formname}.submit(); return 
false;});">$msg.get("editWiki")</a></li>
+<li id="xwikieditwysiwyg"#if($editor == "wysiwyg") class="active"#end><a 
href="$doc.getURL("edit", "editor=wysiwyg&amp;$param")" onclick="if 
(checkAdvancedContent('$msg.get("checkadvancedcontent")')==false) return false; 
return Try.these(function() 
{document.forms.${formname}.action='$doc.getURL("edit", 
"editor=wysiwyg&amp;$languageparams&amp;$param")'; 
document.forms.${formname}.submit(); return 
false;});">$msg.get("editVisual")</a></li>
+<li id="xwikieditwiki"#if($editor == "wiki") class="active"#end><a 
href="$doc.getURL("edit", "editor=wiki&amp;$param")" onclick="return 
Try.these(function() {document.forms.${formname}.action='$doc.getURL("edit", 
"editor=wiki&amp;$languageparams&amp;$param")'; 
document.forms.${formname}.submit(); return 
false;});">$msg.get("editWiki")</a></li>
 #if($isAdvancedUser)<li id="xwikieditobject"#if($editor == "object") 
class="active"#end><a href="$doc.getURL("edit", 
"editor=object&amp;$param")">$msg.get("editObject")</a></li> #end
 #if($isAdvancedUser)<li id="xwikieditclass"#if($editor == "class") 
class="active"#end><a href="$doc.getURL("edit", 
"editor=class&amp;$param")">$msg.get("editClass")</a></li> #end
 <li id="xwikieditrights"#if($editor == "rights") class="active"#end><a 
href="$doc.getURL("edit", 
"editor=rights&amp;$param")">$msg.get("editRights")</a></li>

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to