Ignore:
Timestamp:
Jan 21, 2010, 7:06:51 AM (15 years ago)
Author:
gav
Message:

Change flash.warning to flash.errorMessage.

File:
1 edited

Legend:

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

    r278 r281  
    2525            flash.message = g.message(code: "asset.tree.import.success")
    2626        else
    27             flash.warning = g.message(code: result.error.code, args: result.error.args)
     27            flash.errorMessage = g.message(code: result.error.code, args: result.error.args)
    2828
    2929        redirect(action: importAssetTree)
     
    282282
    283283        if(result.error.code != "default.create.failure") {
    284             flash.warning = g.message(code: result.error.code, args: ["Asset"])
     284            flash.errorMessage = g.message(code: result.error.code, args: ["Asset"])
    285285        }
    286286
Note: See TracChangeset for help on using the changeset viewer.