You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pr...@apache.org on 2016/06/21 14:50:59 UTC

svn commit: r1749546 - /ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml

Author: pranayp
Date: Tue Jun 21 14:50:59 2016
New Revision: 1749546

URL: http://svn.apache.org/viewvc?rev=1749546&view=rev
Log:
[OFBIZ-7392] Applied patch from the ticket for fixing issue on creating new ticket without a project Id, it was being assigned to first project from the list. It was actually confusing for the user. Made Project Id drop-down a required field and not allowing it to be empty. 

Thanks Aditi Patidar for the contribution.

Modified:
    ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml

Modified: ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml?rev=1749546&r1=1749545&r2=1749546&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml Tue Jun 21 14:50:59 2016
@@ -461,8 +461,8 @@
                 </entity-options>
             </drop-down>
         </field>
-        <field name="projectId" action="javascript:document.EditTask.action='EditTask';document.EditTask.submit();" event="onchange" use-when="task==null">
-            <drop-down allow-empty="true">
+        <field name="projectId" action="javascript:document.EditTask.action='EditTask';document.EditTask.submit();" event="onchange" use-when="task==null" required-field="true">
+            <drop-down allow-empty="false">
                 <entity-options description="${workEffortName}" entity-name="WorkEffort" key-field-name="workEffortId">
                     <entity-constraint name="workEffortTypeId" value="SCRUM_PROJECT"/>
                 </entity-options>