svn commit: r789017 - /ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r789017 - /ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml

buscob
Author: buscob
Date: Sat Jun 27 21:23:07 2009
New Revision: 789017

URL: http://svn.apache.org/viewvc?rev=789017&view=rev
Log:
Fixed default Calendar menu to Week view instead of Day view (consistent with the default Calendar content)

Modified:
    ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml

Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml?rev=789017&r1=789016&r2=789017&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortMenus.xml Sat Jun 27 21:23:07 2009
@@ -197,16 +197,16 @@
         </menu-item>
         <menu-item name="week" title="${uiLabelMap.WorkEffortWeekView}">
             <condition>
-                <if-compare field="parameters.period" operator="not-equals" value="week"/>
+                <and>
+                    <if-compare field="parameters.period" operator="not-equals" value="week"/>
+                    <not><if-empty field="parameters.period"/></not>
+                </and>
             </condition>
             <link target="${parameters._LAST_VIEW_NAME_}?period=week&amp;fixedAssetId=${parameters.fixedAssetId}"/>
         </menu-item>
         <menu-item name="day" title="${uiLabelMap.WorkEffortDayView}">
             <condition>
-                <and>
-                    <if-compare field="parameters.period" operator="not-equals" value="day"/>
-                    <not><if-empty field="parameters.period"/></not>
-                </and>
+                <if-compare field="parameters.period" operator="not-equals" value="day"/>
             </condition>
             <link target="${parameters._LAST_VIEW_NAME_}?period=day&amp;fixedAssetId=${parameters.fixedAssetId}"/>
         </menu-item>