WordPress.org

Ready to get started?Download WordPress

Forums

Attachments
[resolved] Attachments_uniqid is not defined (2 posts)

  1. timfield
    Member
    Posted 1 year ago #

    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/

  2. timfield
    Member
    Posted 1 year ago #

    Ignore, I've got something preventing attachements.js loading.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.