1. #21
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    0
    brazhuca is on a distinguished road

      0  

    Default upload

    upload


    hi,

    When I try to upload a file and in the filesadded method return false, the upload is correctly canceled. However, when I try again to upload a file and in the filesadded method return true, the first file was not removed from the upload list.

    I tried it in the filesadded method:
    uploader.removeAll();

    but it does not work.

    Any idea?
    Thanks

  2. #22
    Sencha Premium Member
    Join Date
    Jul 2008
    Posts
    3
    Vote Rating
    1
    jchris is on a distinguished road

      0  

    Default


    Great job! Worked out of the box for me.

    Thanks for sharing this and all the other stuff you did. I´m looking forward using them, specially the ACE Editor.

    I noticed one thing: if you put the upload button inside the DnD area, it will be disabled. Donno, if this is a feature or a bug and I was to lazy to search for this in the code. Not really important.

    I was wondering about the drag-events you had in your example, like window.ondragleave, window.ondrop returning false or preventing default. I cound´t see any difference in using them or not. Is this for avoiding some browser issues or just an example of using these events to "highlight" the window ondragover?

    Thanks
    Chris