Ignore:
Timestamp:
May 17, 2010, 11:56:00 AM (12 years ago)
Author:
duh
Message:
  • subjects can now be deleted properly
  • event grouping works
  • working on upgrading to grails 1.3 (added grails default stuff to ignore list)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_events.gsp

    r416 r418  
    5353                                <div class="firstColumn">${eventId + 1}</div>
    5454                                <div class="firstColumn">
    55                                         <wizard:ajaxButton name="delete" src="../images/icons/famfamfam/delete.png" alt="delete this subject" class="famfamfam" value="-" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" before="\$(\'input[name=do]\').val(${eventId});" afterSuccess="onWizardPage()"/>
     55                                        <wizard:ajaxButton name="deleteEvent" src="../images/icons/famfamfam/delete.png" alt="delete this subject" class="famfamfam" value="-" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" before="\$(\'input[name=do]\').val(${eventId});" afterSuccess="onWizardPage()"/>
    5656                                </div>
    5757                                <wizard:templateColumns id="${eventId}" entity="${events[ eventId ]}" template="${events[ eventId ].template}" name="event_${eventId}" class="column" />
    5858                                <g:if test="${eventGroups}"><g:each var="eventGroup" status="j" in="${eventGroups}">
    5959                                <div class="column">
    60                                         <g:if test="${eventGroup.events.find{ it == event} }">
     60                                        <g:if test="${eventGroup.events.find{ it == events[ eventId ] } }">
    6161                                                <input type="checkbox" name="event_${eventId}_group_${j}" checked="checked" />
    6262                                        </g:if><g:else>
Note: See TracChangeset for help on using the changeset viewer.