Opened 11 years ago

Last modified 11 years ago

#8944 closed defect

IE7 Form submit loading feedback broken — at Version 1

Reported by: Sanjay Madhavan Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.3.0b3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

I have a simple jsp page which uses standard HTML form submission. This page has a form that takes a couple of inputs and when submitted returns a file generated on the server to the browser.

This page was working perfectly till i added a couple of Dojo TitlePanes? and popup Dialogs to improve the visual aspects of the page.

The page still works fine under Firefox 3.0.7 but on IE7 it has broken the loading notification of the page.

This page on submission will cause a file to be returned from the server to the browser.

Clicking the submit button on IE7 sometimes works normally where the browser shows the loading indicator and then the browser opens the popup to open the file as expected. Till the file popup is displayed the browser shows the loading indicator as expected.

More often clicking the submit button causes a very quick loading indicator on IE7 and then it says Done on the status bar with no further feedback till the file pops up.

The problem is fairly random where clicking submit many times works sometimes and many times the form submission works without any browser feedback.

The dojo widgets used are:

<link href="../web/resources/dojo-release-1.3.0b3/dijit/themes/soria/soria.css" rel='stylesheet' type='text/css'/>
<link href="../web/resources/dojo-release-1.3.0b3/dojo/resources/dojo.css" rel='stylesheet' type='text/css'/>

<script src="../web/resources/dojo-release-1.3.0b3/dojo/dojo.js" type="text/javascript" encoding='UTF-8' djConfig="parseOnLoad: true"></script>
<script type="text/javascript" encoding='UTF-8'> dojo.require("dojo.parser");</script>
      <script type="text/javascript">
        dojo.require("dojo.parser");
        dojo.require("dijit.TitlePane");
        dojo.require("dijit.Dialog");
      </script>

If I remove the dojo code the page submission works correctly again as expected.

Does Dojo hook into the form submission even when I have not requested it explicitly on the page?

I am puzzled why form submission should be broken since this page is NOT using any async code and is just plain vanilla html forms with a few dojo widgets sprinkled on top.

Any ideas?

/sanjay

Change History (1)

comment:1 Changed 11 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Owner: anonymous deleted

Hmm, I don't have any ideas offhand (dojo isn't hooking into form submission AFAICT), and without a test case it seems impossible to track down.

So the form submit is actually loading a new page? And yet dojo from the previous page still has some effect somehow?

Note: See TracTickets for help on using tickets.