• Resolved timfield

    (@timfield)


    I’m getting this Javascript error, which is preventing the admin display of attachements. Have a fresh vanilla install. Any ideas?


    ReferenceError: attachments_uniqid is not defined

    attachment.attributes.attachment_uid = attachments_uniqid( ‘attachmentsjs’ );

    Context

    // loop through the selected files
                                selection.each( function( attachment ) {
    
                                    // set our attributes to the template
                                    attachment.attributes.attachment_uid = attachments_uniqid( 'attachmentsjs' );
    
                                    // by default use the generic icon
                                    attachment.attributes.attachment_thumb = attachment.attributes.icon;

    http://wordpress.org/extend/plugins/attachments/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Attachments_uniqid is not defined’ is closed to new replies.