Author: erwan
Date: Thu Jun 9 15:19:57 2011
New Revision: 1133924
URL:
http://svn.apache.org/viewvc?rev=1133924&view=revLog:
Label on submit button when editing a task is now changing if the task is new or edited
Modified:
ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=1133924&r1=1133923&r2=1133924&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Thu Jun 9 15:19:57 2011
@@ -112,7 +112,8 @@
</field>
<field name="estimatedStartDate" title="${uiLabelMap.FormFieldTitle_estimatedStartDate}" position="1"><date-time type="date"/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.FormFieldTitle_estimatedCompletionDate}" position="2"><date-time type="date"/></field>
- <field name="add" title="${uiLabelMap.CommonAdd}"><submit/></field>
+ <field name="add" title="${uiLabelMap.CommonAdd}" use-when="task==void || task==null"><submit/></field>
+ <field name="add" title="${uiLabelMap.CommonSave}" use-when="task!=void @and task!=null"><submit/></field>
</form>
<form name="AssignTaskOtherProject" type="single" target="updateTask" default-map-name="task">