nightly builds event behavior
Thad Hoffman <thad.hoffman <at> invaderZim.gir.netscape.com>
2002-12-05 17:12:27 GMT
Comparing to 1.0.1 and NS 7.0<
The nightlies and 1.2 release, I am getting wacked out behavior to code
that has worked before. I am noting them here because I'm sure where
they fall under to be logged.
1. (OS X & Windows builds) We have a logon screen, 2 txt fields and a
button. The button fires an event that makes an XMLHTTPObj request and
handles the xml returned from the server to determine what to do next
(login, prompt user for options, deny access, etc....)
When the logon in incorrect, we pop up a div that states the error and
offer them a button to refresh the page. This works fine in IE and
previous moz/ns builds. Now however, when you click on the button to
refresh, the div that holds the logon stuff, jumps to the right
100pixels and does not refresh. Pressing the button a second time
performs the proper behavior.
2. (OS X & windows builds) Similar to above, but this concerns divs
loaded that contain tables to mimic formatted listboxes. Nothing fancy
or ill about the code. The XML response is processed and we dynamically
create a table and populate it with the data and add event listeners to
the row (for click) and toggle classNames to mimic the selection, etc...
Anyway, the entire layout it css driven, the width of the div is drawing
too small for the css values at first, when you click a row, the div
expands to the proper width, but doesn't perform the click event
assigned, again a second click will then propagate the event.
If I stick a debugger statement into the event to be fired and start the
debugger, it won't stop on the first click (the one that resizes the
div) but does on the second click.