jeudi 17 avril 2014

Open a new Window instead of a tab in extjs 4.

Hello,

I need to open a new window with a url that I have . I am using the following piece of code. It always opens a new tab under the same window. But instead I want to open a new window with the url.


success: function(response, opt){

Ext.getBody().unmask();


var link = Ext.decode(response.responseText);

if (link.success) {

window.open(link.data) ;

}

}


Any suggestions please?.





Aucun commentaire:

Enregistrer un commentaire