1. #1
    Touch Premium Member
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    JeffBurr is on a distinguished road

      0  

    Default Error with Menu doing "oncontextmenu"

    Error with Menu doing "oncontextmenu"


    I am getting this error in Firefox when doing a simple menu to replace contextmenu on a JSONview:

    [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMMouseEvent.type]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: /ext10/ext-all-debug.js :: anonymous :: line 1834" data: no]

    Code:
    var menu = new Ext.menu.Menu({
    	id: 'basicMenu',
    	items: [
    	  new Ext.menu.Item({
    		text: 'Delete',
    		handler: deleteHandler
    	  }),
    	  new Ext.menu.Item({
    		text: 'Another item'
    	  })
    	]
    });
    
    view.on('contextmenu', function(vw, index, node, e) {
    	e.preventDefault();
        	var coords = e.getXY();
    	menu.rowid = node.id;
    	menu.showAt([coords[0], coords[1]]);
    }); 
    
    function deleteHandler(titem) {
    	alert('yo');
    }
    The error seem to occur after you click out of the alert...

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Please search before posting. See this.

  3. #3
    Touch Premium Member
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    JeffBurr is on a distinguished road

      0  

    Default sorry

    sorry


    Sorry about that. I did search, but not on the right keywords exactly...

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