Support » Plugin: Simple Ads Manager » Uploading Banner Problem

  • Hi,

    When do I upload from local computer on “New advertisement” or “Edit advertisement” page, the loading bar goes on forever and never complete the process.
    Using media upload (or when setup default ad in Ads Place ever from local computer) works fine.

    I have no other installed plugins (only simple-ads-manager) and I have active the theme twentyfourteen with last version of WordPress.

    Thanks in advance

    WordPress Version: 3.8.1
    SAM Version: 2.2.80
    SAM DB Version: 2.6
    PHP Version: 5.3.3
    MySQL Version: 5.1.73

    https://wordpress.org/plugins/simple-ads-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter snakelabs

    (@snakelabs)

    I solved the problem.

    I change this code on row 299/306 of file sam-admin-edit-item.js:

    onSubmit:function (file, ext) {
            if (!(ext && /^(jpg|png|jpeg|gif|swf)$/.test(ext))) {
              status.text(samStrs.status);
              return false;
            }
            loadImg.show();
            status.text(samStrs.uploading);
            return false;
          },

    with this

    onSubmit:function (file, ext) {
            if (!(ext && /^(jpg|png|jpeg|gif|swf)$/.test(ext))) {
              status.text(samStrs.status);
              return false;
            }
            loadImg.show();
            status.text(samStrs.uploading);
          },

    I have simply removed the 2nd return false

    Plugin Author minimus

    (@minimus)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uploading Banner Problem’ is closed to new replies.