digitalkaoz
1 Sep 2008, 7:50 AM
he folks,
i've ran into a weird problem...
trying to show a contextmenu in the root-window works perfect...
but trying to open one in another native window fails...cause the menu "thinks" it should be opened in the root window.
a menu.showAt([100,100]); confirms it. the menu is opened in the root window, not in the window where it should be...
test = new Ext.menu.Menu({
allowOtherMenus:true,
items: [{
text: 'edit',
store:this.getStore(),
handler: function(i, e){
}
}, {
text: 'delete',
handler: function(i, e){
}
}]
});
test.show(elem); //wont work
test.showAt([100,100]); //works, but the menu appears in the root window
can some of you, comfirm this bug, or am i doing something wrong?
i've ran into a weird problem...
trying to show a contextmenu in the root-window works perfect...
but trying to open one in another native window fails...cause the menu "thinks" it should be opened in the root window.
a menu.showAt([100,100]); confirms it. the menu is opened in the root window, not in the window where it should be...
test = new Ext.menu.Menu({
allowOtherMenus:true,
items: [{
text: 'edit',
store:this.getStore(),
handler: function(i, e){
}
}, {
text: 'delete',
handler: function(i, e){
}
}]
});
test.show(elem); //wont work
test.showAt([100,100]); //works, but the menu appears in the root window
can some of you, comfirm this bug, or am i doing something wrong?