I just posted the following bug report (229992), concerning the fact that form buttons do not appear to redraw correctly when the are disabled and/or when their name is changed by a JS. This occurred to me on Ebay's 'Enter name and password page'. The short of it is that when I hit Submit (which disables the button and changes the name to "Please Wait") the bottom, right section of the button frame doesn't redraw (and it's always been the same part of the frame, I think down to pixels.

Looking at it now, I realize that it doesn't redraw the bottom for the part of the *new* button that does not overlap the old button (parts further to the right on the screen). But the top of the button always redraws fine.

Is this a bug in the Camino MacOSX interface code, or in NSButton?


The page is also on my website at http://www.bloomington.in.us/~jswitte/ebayError.html


I believe that the part of the code creating the error is this:

function checkSurvey()
{
return false;
if(document.all)
return popOutWindow("https://www.selfsurveys.com/rs.aspx? SID="+SIDQID+"=","500","400",true,Frequency);
}
//--></script><script language="JavaScript"><!--
function initFocus() {
document.PlaceBid.elements[0].focus();
}
//--></script><script language="JavaScript"><!--
function Localize(pStr){return pStr;}


var ProcessingText = Localize("Please Wait...");
var cnt=0;
function doValidate(f){
f.BIN_button.value=ProcessingText;
f.BIN_button.disabled=true;
if (cnt==0)f.submit();
cnt++;
}

specifically the third from the last line (f.BIN_button.disabled=TRUE) and the line before that changing the name. I don't know what script this bit of JS is part of (perhaps checkSurvey itself), which is called by the onUnload handler.

Jim Witte
[EMAIL PROTECTED]
Indiana University CS

_______________________________________________
Camino mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/camino

Reply via email to