1. #1
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    12
    Vote Rating
    0
    chris is on a distinguished road

      0  

    Default Ext.Toolbar causing DOM Exceptions in Firefox

    Ext.Toolbar causing DOM Exceptions in Firefox


    Don't know if this is a known issue, but the Ext.Toolbar is causing exceptions to occur in Firefox (2.0.0.3 Windows & Mac tested). The issue happens when you drag the cursor over the toolbar and into a textarea. When the cursor ends up in the textarea the exception is thrown:

    Code:
    [Exception... "'Permission denied to get property HTMLDivElement.nodeType' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
    ...And the Toolbar item remains highlighted:



    HTML code is as follows:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    	<head>
    
    		<title>Wayki Test Site</title>
    
    		<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
    
    	
    		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    	
    	</head>
    
    	
    	<body>
    		
    		<script type="text/javascript" src="prototype.js"></script>
    		<script type="text/javascript" src="ext-prototype-adapter.js"></script>
    		<script type="text/javascript" src="ext-all-debug.js"></script>
    	
    		<form method="post" action="Test.html">
    		
    		<div id="yui-bd">
    		
    	
    	
    	<textarea></textarea>
    
    	
    			<div id="postutil" style="display:inline;float:left;"></div>
    			<div id="postbuttons" style="display:inline;float:right"></div>
    			
    			<script type="text/javascript">
    				var postBar;
    
    				Ext.onReady( function() {
    					
    					
    					new Ext.Toolbar('postutil',[
    						new Ext.Toolbar.Separator,
    						{
    							text:'Move'
    						},
    						new Ext.Toolbar.Separator,
    						{
    							text:'Options'
    						},
    						new Ext.Toolbar.Separator,
    						{
    							text:'Help',
    							cls: 'x-btn-text-icon',
    							handler: function(){},
    							tooltip: "<b>Help With Posting<\/b><br />Move the Marker Around by dragging it!"
    						}
    					]);
    
    					var postBar = new Ext.Toolbar('postbuttons',[
    						new Ext.Toolbar.Button({
    							id:'postButton',
    							cls: 'x-btn-text-icon blist',
    							text:'Post It!',
    							hidden:false,
    							handler:function(){}
    						}),
    						new Ext.Toolbar.Separator,
    						new Ext.Toolbar.Button({
    							id:'postButton',
    							cls: 'x-btn-text-icon blist',
    							text:'Cancel',
    							hidden:false,
    							handler:function(){}
    						}),
    						{
    							id:'editButton',
    							text:'Save Marker',
    							hidden:true
    						}
    					]);
    					
    				});
    			</script>
    		</div>
    	</form>
    </body>
    
    </html>
    Any ideas what might be causing this and how to fix it?
    Attached Images
    -->

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    112
    Vote Rating
    0
    jeffiel is on a distinguished road

      0  

    Default


    this is coming from the button class, and is triggered on mouseover, probably having to do with the class change. haven't found a fix yet.
    -->

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

      0  

    Default


    There's already two threads in bugs regarding this issue.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com
    -->

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar