WordPress.org

Support

Support » Plugins and Hacks » WP Simple Galleries » Upload-Button ("Bilder hochladen" in German) not working – possible solution

Upload-Button ("Bilder hochladen" in German) not working – possible solution

  • By cklicking the upload image button nothing is happening, no error, nothing… tested in Firefox v20+ and IE 8 (I know, too old).

    IE tells me a js-error. Following change in “wp-simple-gallery-admin.js” solves the IE-problem:
    on line 41 change

    event.preventDefault();

    to

    if ( event.preventDefault ) {
    event.preventDefault();
    } else {
    event.returnValue = false;
    }

    But in FF it still didn’t work… I’m not a coder, but found a solution:

    on line 40 change

    $('#wpsimplegallery_upload_button').on('click', function() {

    to

    $('#wpsimplegallery_upload_button').on('click', function(event) {

    WORKS! in both browsers.

    Please update your code Matthew 🙂
    Cheers, Adrian

    http://wordpress.org/extend/plugins/wp-simple-galleries/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Upload-Button ("Bilder hochladen" in German) not working – possible solution’ is closed to new replies.
Skip to toolbar