WordPress.org

Ready to get started?Download WordPress

Forums

WP Simple Galleries
Upload-Button ("Bilder hochladen" in German) not working - possible solution (6 posts)

  1. Adrian Verstuyft
    Member
    Posted 1 year ago #

    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/

  2. Wnd
    Member
    Posted 1 year ago #

    Many thanks! Had the same issue (;

  3. kfoulks2011
    Member
    Posted 1 year ago #

    This also worked for me. Thank you!

  4. matiyin
    Member
    Posted 1 year ago #

    great find! worked for me!

  5. peiferus
    Member
    Posted 11 months ago #

    Thanks "not a coder" for coding a solution to this problem! Worked great.

  6. beshoy
    Member
    Posted 11 months ago #

    thanks alot "not a coder" :) , yo helped me a lot

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic