pvollenweider    2004/09/29 11:34:44 CEST

  Modified files:
    src/view/jsp/include left_menu.inc 
  Log:
  - Bug fix on left menu on edit mode when the first Page Field is null
  
  Revision  Changes    Path
  1.4       +9 -1      corporate_portal_templates/src/view/jsp/include/left_menu.inc
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/include/left_menu.inc.diff?r1=1.3&r2=1.4&f=h
  
  
  
  Index: left_menu.inc
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/src/view/jsp/include/left_menu.inc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- left_menu.inc     24 Sep 2004 09:18:42 -0000      1.3
  +++ left_menu.inc     29 Sep 2004 09:34:44 -0000      1.4
  @@ -152,6 +152,12 @@
   
               <logic:empty name="link">
                   <logic:equal name="currentRequest" property="editMode" value="true">
  +                    <%
  +                    linkCount++;
  +                    if (linkCount == 1) {
  +                        %><table border="0" cellspacing="0" cellpadding="0" 
width="100%"><%
  +                    }
  +                    %>
                       <tr>
                           <td class="leftpict">&nbsp;</td>
                           <td class="left">
  @@ -188,7 +194,9 @@
                               onclick="goTo('<bean:write name='link' 
property='url'/>')"
                           </jahia:ifNotEditMode>
                           >
  -                        <a href="<bean:write name='link' property='url'/>" 
class="leftlevel1"><bean:write name="link" property="title" 
filter="false"/><logic:notPresent name="link" 
property="title">null</logic:notPresent></a>
  +                        <a href="<bean:write name='link' property='url'/>" 
class="leftlevel1"><bean:write name="link"
  +                            property="title" filter="false"/><logic:notPresent 
name="link"
  +                            property="title">null</logic:notPresent></a>
                           <jahiaHtml:actionMenu name="linkContainer" namePostFix="" 
resourceBundle="jahiatemplates.Corporate_portal_templates" useFieldSet="false">
                           </jahiaHtml:actionMenu>
                           <%
  

Reply via email to