ENART.HZRN.COM
welcome to my space
X
Search:  
 HOME   [2.0 only?] MessageBox buttons not showing in IE 6.0
[2.0 only?] MessageBox buttons not showing in IE 6.0
Published by: smith 2010-03-19
Welcome to:enart.hzrn.com

  • Not sure if it is 2.0 specific - but I'm having a problem whereby, for example, the YES/NO buttons in the MessageBox.confirm() dialog does not show up in IE 6.0 but works fine for IE 7.0.

    Weird thing is that the msg-box sample works fine... hmmm... :-?

    Wondering if anyone else encountered this problem? And if there's a simple fix to it.


  • Okay, after much testing, I've come across a relatively consistent test case.

    With the msg-box.html, if you click on the "Confirm" sample first, then the "Icons" sample will not show the OK button.

    Now, refresh the browser, click on "Icons" sample first (OK button now appears), then click on the "Confirm" sample - YES/NO buttons no longer appears.

    Refresh the browser again, click on "Progress Dialog", then click on either "Confirm", "Alert", "Icon" or any samples which are supposed to have buttons - no buttons will appear. In general, if the first MessageBox to appear does not have buttons, subsequent MessageBox calls will not show buttons.

    So now, my rather silly workaround for now is to immediately show and hide a confirm dialog upon page loading.

    Downside is that subsequent MessageBox.alert will not have the OK button - but at least the little "x" at the top-right corner still appears, and will suffice for now until this strange bug is quashed.


  • Hmm, how odd indeed - now the msg-box.html doesn't exhibit the problem even with the yui adapters. Perhaps I was mistaken when I thought it broke by including those two files instead of ext-base.js.

    How do we change the doctype?


  • I have actually noticed this same issue independently, and yes, it is very strange and seems to occur somewhat inconsistently for me. I believe it is 2.0 specific, and we are looking into it.


  • This has been fixed in SVN.

    The problem was related to multiple MessageBoxes that use different sets of buttons. As soon as some buttons were initially hidden by one window, they would no longer show up again on subsequent windows when they were supposed to. There seems to be an issue with how IE deals with setting the buttons to display:none in this case, so it has been switched to use offsets when hiding the buttons, which seems to have solved it. Let me know if you still have any issues with this.


  • ext-base replaces the combination of the 2 yui files. Can you produce a small sample that causes the problem? Does it go away if you change the doctype?


  • Okay, managed to reproduce the missing buttons problem in IE6.0 by including yui-utilities.js and ext-yui-adapter.js, instead of ext-base.js.

    Btw, if all old code is migrated to use purely Ext without any direct yui reference - does ext-base.js suffice? i.e. can we safely do away with yui-utilities.js and ext-yui-adapter.js?


  • Hmm, can't seem to produce a simple case that exhibits this problem.

    Perhaps another noteworthy observation is that if I were to immediately show a confirm messagebox right after loading up the webpage, subsequent messagebox will have the buttons appear correctly.

    Maybe the relatively complex layouts that I'm using could have caused some internal style consistencies for IE6? Weird indeed.


  • Thanks, just tested with IE6 - seems to resolve the problem quite well. Many thanks.





  • 1.1 Package dependencies - PagingToolbar not a constructor - sp has no properties
    Nested grid within Expander grid

    You are looking at:enart.hzrn.com's [2.0 only?] MessageBox buttons not showing in IE 6.0, click enart.hzrn.com to home
  • does anyone know how to contact the jonas brothers and don 039 t say gogettalife
  • how can u say the cool kids arent good
  • can you name one song from 88 98 and 08
  • is it true that some guys dont like kissing people
  • hi i asked this and i never got a responce
  • what 039 s nick jonas 039 s regular phone number
  • i have pneumonia what can i eat
  • nick jonas dream what does it mean
  • jonas brother contact
  • most common meat and fish in france
  • why are people so astoundingly enormously incredibly shallow
  • does anybody how i can contact the jonas brothers
  • will they put me back in the psych ward
  • what is nick jonas phone numer
  •  
  • does anyone have real jonas brothers contacts
  • is anybody else addicted to yahoo answers
  • what is nick jonas 039 s phone number i lost it please include area code
  • what does hard nipples mean
  • what 039 s nick jonas 039 s phone number
  • i really want the jonas brothers to perform at my sweet six party but i don 039 t know how to contact them
  • im an 18yr old girl and i 039 ve had before is that bad
  • why does it seem that the users of yahoo answers are getting younger and younger each day
  • what do u text with guys about
  • jonas brothers do you think they 039 d come
  • how 2 contact the jonas brothers for real
  • does anyone actually know the jonas brothers and stay in contact with them
  • what are all of the flavors of skoal
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 enart.hzrn.com        Site made:CFZ