Ignore:
Timestamp:
Jan 21, 2010, 11:25:46 AM (14 years ago)
Author:
gav
Message:

Move asset copy and create functions into AssetService.
Repair create links in AssetTreeTagLib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/shared/_assetTree.gsp

    r278 r284  
    55        <img src="${resource(dir:'images/skin',file:'database_add.png')}" alt="Add" title="Add Sub Item"/>
    66    </g:link>
    7     <g:link params="['asset.id':assetInstance?.id]" action="copy">
     7    <g:link params="['assetToCopy.id':assetInstance?.id]" action="copy">
    88        <img src="${resource(dir:'images/skin',file:'page_copy.png')}" alt="Copy" title="Copy Asset"/>
    99    </g:link>
Note: See TracChangeset for help on using the changeset viewer.