WordPress.org

Forums

NextGEN Gallery
Contributor upload images Expected identifier string or number (1 post)

  1. cheezyal
    Member
    Posted 4 years ago #

    I have enabled contributors to be able to upload images. Chrome & firefox works fine. IE8 throws error, although still seems to work. Error recived is:

    Message: Expected identifier, string or number
    Line: 283
    Char: 11
    Code: 0
    URI: http://domain.com/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    The code it refers to is this:

    // File Tree implementation
    		jQuery(function() {
    		    jQuery("span.browsefiles").show().click(function(){
        		    jQuery("#file_browser").fileTree({
        		      script: "admin-ajax.php?action=ngg_file_browser&nonce=03bd8cbddf",
                      root: jQuery("#galleryfolder").val(),
        		    }, function(folder) {
        		        jQuery("#galleryfolder").val( folder );
        		    });
    		    	jQuery("#file_browser").show('slide');
    		    });
    		});

    I have tried a few things but cant seem to fix it. Any help would be cool. Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.