PDA

View Full Version : error on console window with window.location = mailto



bforbhavin
15 Oct 2012, 11:56 AM
Hi,

When I invoke following function on click of the button, it shows me an error on console window. I use Chrome browser. I see an error of GET (see attached).

Ext.create('Ext.Button', {
text: 'Click me',
renderTo: Ext.getBody(),
handler: function() {
window.location = 'mailto://firstname.lastname@domain.com';
}
});

Tim Toady
15 Oct 2012, 4:59 PM
This isn't really an issue. It is just the way Chrome appears to treat mailto and is unrelated to Ext.