Ignore:
Timestamp:
Dec 4, 2009, 1:13:08 AM (10 years ago)
Author:
gav
Message:

Clicking on a searchCalendar day allows user to create a task with that day preset as targetStartDate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskDetailed/create.gsp

    r196 r214  
    5151                                </td>
    5252                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}">
    53                                     <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${new Date()}" />
     53                                    <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" />
    5454                                    <g:helpBalloon class="helpballoon" code="task.targetStartDate" />
    5555                                </td>
     
    6161                                </td>
    6262                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}">
    63                                     <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${new Date()}" />
     63                                    <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${taskInstance.targetCompletionDate}" />
    6464                                    <g:helpBalloon class="helpballoon" code="task.targetCompletionDate" />
    6565                                </td>
Note: See TracChangeset for help on using the changeset viewer.