Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Batch File Uploader hangs IE7

    We are experiencing a hang in the batch file uploader functionality when using IE7. If a user directly enters an invalid filename rather than browsing to an actual file this will cause the upload to hang. This can be observed in the Batch File Uploader in the SmartGWT EE showcase.

    #2
    Hi Brett,
    IE 7 throws a javascript error when you attempt to submit a form with an invalidly set file path - you can see this on a very simple HTML code snippet
    Code:
    <FORM name="aForm" METHOD=POST ACTION='foo' ENCTYPE=multipart/form-data >
    <INPUT TYPE=FILE NAME=file>
    </FORM>
    
    <button onclick="aForm.submit()">SUBMIT</button>
    Type a few characters into the upload box and hit the submit button and you'll see the JS error.
    This is apparently by design http://support.microsoft.com/kb/892442, but we will look at whether we can trap this error and handle it more gracefully.

    Thanks
    Isomorphic Software

    Comment


      #3
      I guess what we are looking for is a chance to handle the exception in our code but right now it is not propagated so we just hang our busy indicator like the show case does.

      Brett

      Comment

      Working...
      X