1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    504
    Vote Rating
    0
    vtswingkid is on a distinguished road

      0  

    Default Latest Button changes break dialog in IE6

    Latest Button changes break dialog in IE6


    Here is a simple snippet to show what is happening.
    If the button line is removed and dialog.destroy(true) is called after show....everything works fine.
    when destroy is called if the button is there it now chokes in IE6...
    Unknown runtime error Line:21 Char: 15848
    The prior release did not have these problems...

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    	<head>
    		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    		<title>Untitled Document</title>
    	</head>
    	<body>
    		<link rel='stylesheet' type='text/css' href='ext/resources/css/ext-all.css' />
    		<script type='text/javascript' src='ext/yui-utilities.js'></script>
    		<script type='text/javascript' src='ext/ext-all.js'></script>
    		<script type='text/javascript' src='ext/ext-bridge-yui.js'></script>
    		<script type='text/javascript'>
    			Login = function(){
    				var dialog, button, userI, passI;
    				return{
    					Init:function(){
    						dialog = new Ext.BasicDialog('loginId', {
    							autoCreate: true,
    							width: 250,
    							height: 130,
    							modal: true,
    							closable:false,
    							resizable:false,
    							draggable:false			
    						});
    						button=dialog.addButton('Login', Login.Submit);
    						dialog.show(document.body.getElementsByTagName('div')[0]);
    					},
    					Submit:function(){
    						dialog.destroy(true);
    					}
    				}
    			}();
    			
    			Ext.onReady(Login.Init);
    		</script>
    	</body>
    </html>

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Fixed in the new deploy.

Similar Threads

  1. Combo bug on latest build
    By fsuguinness in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 22 Mar 2007, 10:24 AM
  2. Hello World Dialog without minimise button
    By ungaro in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 11 Mar 2007, 5:51 PM
  3. dialog(s) called from button on cell(s) in grid
    By mcrusty in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 26 Jan 2007, 12:28 AM
  4. Dialog - image or link instead of button
    By MaTraX in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 23 Jan 2007, 6:38 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi