Author: sdumitriu Date: 2008-02-17 15:06:20 +0100 (Sun, 17 Feb 2008) New Revision: 7773
Modified: xwiki-platform/web/trunk/standard/src/main/webapp/templates/editclass.vm Log: XSTOUCAN-1: Create Toucan skin from xwiki.org Fixed: IE6/7: when clicking on the Class edit mode there's an debug dialog box error Modified: xwiki-platform/web/trunk/standard/src/main/webapp/templates/editclass.vm =================================================================== --- xwiki-platform/web/trunk/standard/src/main/webapp/templates/editclass.vm 2008-02-17 13:52:46 UTC (rev 7772) +++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/editclass.vm 2008-02-17 14:06:20 UTC (rev 7773) @@ -9,7 +9,9 @@ <div id="xwikieditcontent" class="clear"> <div class="hidden"><input type="hidden" name="xcontinue" value="$doc.getURL("edit", "editor=class")"/></div> <div id="xwikiclassproperties" class="accordion"> +#set($hasProps = false) #foreach ($field in $class.properties) +#set($hasProps = true) <div id="field_$field.name"> <div id="field_${field.name}_title" class="accordionTabTitleBar"><h6><tt>$field.prettyName</tt></h6></div> <div id="field_${field.name}_content" class="accordionTabContentBox"><div> @@ -27,5 +29,7 @@ </div> ## editcontent <div class="bottombuttons">#template("editactions.vm")</div> </form> +#if($hasProps) <script type="text/javascript">new Rico.Accordion( 'xwikiclassproperties', {panelHeight:'flex'} );</script> +#end #end \ No newline at end of file _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications