PDA

View Full Version : Weird FireFox Problem



davisty
4 Apr 2012, 7:48 AM
Hello,

I have an unusual firefox problem, that Im only encountering on one PC.

On my development box, when right clicking for a context menu, the base FF context menu is not suppressed. It only happens on this one machine. They all have the exact same plugins and level of firefox. They are all using XP with all the most recent updates. It works correctly in IE and Chrome on this box. Just firefox is having the problem and only on this one PC. It's no big problem, just kind of a pain ...

Has anyone else experienced this? If so, how did you fix it?

Thanx in advance

scottmartin
4 Apr 2012, 12:03 PM
I have not seen/heard of this myself. Have you tried clearing all your cache, cookies, etc?

Regards,
Scott.

davisty
4 Apr 2012, 12:13 PM
I havent seen it anywhere else myself. It could only happen to me :))

I tried clearing cashe and everything. The only reason Im even bothered with this is because it's my work development box. My home development box works fine. Just this one specific PC.

Beats anything Ive ever seen ...

Chrome and IE work fine ... Just FF.

scottmartin
4 Apr 2012, 1:13 PM
Time to get out the pipe wrench ;)

Scott.

davisty
5 Apr 2012, 5:16 AM
Time to move to the Yukon, hunt elk and catch salmon. Who needs this crap ... B)

scottmartin
5 Apr 2012, 5:35 AM
Just for grins .. how does this work on your system:




Ext.onReady(function(){

Ext.QuickTips.init();

// sample static data for the store
var myData = [
['3m Co', 71.72, 0.02, 0.03, '9/1 12:00am'],
['Alcoa Inc', 29.01, 0.42, 1.47, '9/1 12:00am'],
['Altria Group Inc', 83.81, 0.28, 0.34, '9/1 12:00am'],
['United Technologies Corporation', 63.26, 0.55, 0.88, '9/1 12:00am'],
['Verizon Communications', 35.57, 0.39, 1.11, '9/1 12:00am'],
['Wal-Mart Stores, Inc.', 45.45, 0.73, 1.63, '9/1 12:00am']
];

Company = Ext.extend(Ext.data.Model, {
fields: [
{name: 'company'},
{name: 'price', type: 'float'},
{name: 'change', type: 'float'},
{name: 'pctChange', type: 'float'},
{name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
],
idProperty: 'company'
});

// create the data store
var store = Ext.create('Ext.data.ArrayStore', {
model: Company,
data: myData
});

menuContext = new Ext.menu.Menu({
items: [{
text: 'Do something'
}],
listeners: {
itemclick: function(item) {
// handle click
}
}
});


// create the Grid
var grid = Ext.create('Ext.grid.Panel', {
store: store,
multiSelect: true,
columns: [
{
text : 'Company',
flex : 1,
sortable : false,
dataIndex: 'company'
},
{
text : 'Price',
width : 75,
sortable : true,
renderer : 'usMoney',
dataIndex: 'price'
},
{
text : 'Change',
width : 75,
sortable : true,
dataIndex: 'change'
},
{
text : '% Change',
width : 75,
sortable : true,
dataIndex: 'pctChange'
},
{
text : 'Last Updated',
width : 85,
sortable : true,
renderer : Ext.util.Format.dateRenderer('m/d/Y'),
dataIndex: 'lastChange'
}
],
height: 350,
width: 600,
title: 'Array Grid',
renderTo: Ext.getBody(),
viewConfig: {
stripeRows: true,

listeners: {
itemcontextmenu: function(view, rec, node, index, e) {
e.stopEvent();
menuContext.showAt(e.getXY());
return false;
}
}
}


});

});



Scott.

davisty
5 Apr 2012, 6:05 AM
It will be later on today before Im able to get to it ... I'll let you know either way ...

It seems that my FF is ignoreing the stopevent thingy.

I appreciate your responses. I wouldnt normally worry about this, but I have to demo it on my developement box.

Beyond that, you know what would be cool as all get out? If yall could develop a carosel transition that was like a page turning effect. That would look REALLY inpressive when dealing with grids/xtemplates on the carosel.