Changeset 448


Ignore:
Timestamp:
Mar 24, 2010, 10:54:33 AM (15 years ago)
Author:
gav
Message:

Small correction to inventoryMovement redirect on delete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/InventoryMovementDetailedController.groovy

    r442 r448  
    5959        if(!result.error) {
    6060            flash.message = "InventoryMovement ${params.id} deleted"
    61             if(result.taskId)
     61            if(result.taskId) {
    6262                redirect(controller:"taskDetailed", action:"show", id:result.taskId)
     63                return
     64            }
    6365            redirect(controller:"inventoryItemDetailed", action:"show", id:result.inventoryItemInstance?.id)
    6466        }
Note: See TracChangeset for help on using the changeset viewer.