Ignore:
Timestamp:
Jan 28, 2011, 12:30:39 PM (8 years ago)
Author:
robert@…
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/nl/tno/metagenomics/UploadTagLib.groovy

    r4 r9  
    2626                out << '    fileUploadField( "' + attrs.name + '", ' + ( multiple ? 'true' : 'false' ) + ( attrs.onUpload ? ', function(params) { ' + attrs.onUpload + '(params); }' : '' ) + ( attrs.onDelete ? ', function(params) { ' + attrs.onDelete + '(params); }' : '' ) + ');';
    2727                out << '    if( filename != "" ) {';
    28                 out << '      $("#' + attrs.name + 'Delete").show();';
     28                out << '      $("#' + attrs.name + 'DeleteExisting").show();';
    2929                out << '      $("#' + attrs.name + 'Example").html("Current file: " + createFileHTML( filename ) )';
    3030                out << '    }';
Note: See TracChangeset for help on using the changeset viewer.