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

Fixed Drag and Drop image in PC

Discussion in 'Resolved Bug Reports' started by MattW, Jun 6, 2013.

  1. MattW

    MattW Well-Known Member

    As I'm guessing the permissions haven't changed for uploading images into PCs, if you try and do this, is simply loads the local image into your browser. You then have to press back to get back to the PC window.

    There are no messages displayed with regards to no permissions to do this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I suspect you need permission to upload attachments for that to work.

    Is the suggestion to display an error message?
  3. MattW

    MattW Well-Known Member

    Ah, yes, sorry, the actual suggestion was to display an error message. I'll do a screen shot now showing what happens.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I'll move it to bugs and see what @Mike has to say about it as I suspect the same will happen in a post with no permission to attach/upload.
  5. MattW

    MattW Well-Known Member

    Actually, I can only drag and drop into the quick reply editor, and not the one on a Reply or PC

    Attached Files:

  6. Mike

    Mike XenForo Developer Staff Member

    As said, it's because you don't have permission to upload. I'm not sure what the correct behavior should be here -- we don't even register the handlers if you can't upload a file so it's what would happen if you dragged a file on any other page.
  7. Luke F

    Luke F Well-Known Member

    I think better behaviour would be to display a simple overlay error message
  8. MattW

    MattW Well-Known Member

    So are we only able to use the drag and drop for upload in the quick reply in threads? I tried in a New Thread and a More Options reply, and it doesn't work in there.
  9. Mike

    Mike XenForo Developer Staff Member

    I can't save I've had any problems with it working elsewhere. If you can still reproduce that, report it in another bug.

    I have now (locally) changed this so the drag and drop is always enabled, but if there's no uploader it'll tell you that when you try to drag in.
    Teapot likes this.

Share This Page