1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Future Fix Submit Reply while still uploading

Discussion in 'Future-Fix Bug Reports' started by MattW, Oct 22, 2013.

  1. MattW

    MattW Well-Known Member

    Have noticed this a couple of times now.

    If you copy / paste an image into the editor, and submit while the image is still uploading, the post still be submitted, but the attachment not. The attachment is then available in the next reply.

    Would it be possible to disable the Post Reply if an attachment is still uploading?
    Amaury likes this.
  2. MattW

    MattW Well-Known Member

    Just testing as well
  3. MattW

    MattW Well-Known Member

    Did it here just now to prove it. Only happens when there is text already in the editor


    That image was pasted into the editor, and Post Reply pressed while the image was still being uploaded.

    Attached Files:

  4. Mike

    Mike XenForo Developer Staff Member

    First, disabling the post button is a bad idea IMO. It's possible for failures to keep it disabled. So that approach is really a non-starter.

    The alternative would be to just do it how we do regular attachments: give you an indication if they're uploading. Unfortunately, that isn't actually simple. The attachment queue event, for example, has some SWFUpload assumptions in it (such as when taking certain actions or just the data in the event). This then follows on to some of the other events.

    This would have to be revisited in the future.
  5. Mike

    Mike XenForo Developer Staff Member

    Oh as a side note, you should see the ajax progress indicator while it's uploading at least.
  6. Ralle

    Ralle Active Member

    A popup box warning you but allowing you to proceed anyway could be a solution.

Share This Page