Jan 20, 2011, 8:29 AM
[CLOSED] Window toFront: true
Using the following code to create a client window.
When looking into the Chrome element inspector I see the following error in webresource.axd:
It's found on the Sencha site here: http://dev.sencha.com/deploy/dev/doc...Window-toFront
Also..did it on Vlad's advise: http://forums.ext.net/showthread.php...hlight=toFront
Where is my error ?
Martin
function CreateDesktopWindow(title, id) {
if (top.winWijzigBestuurder) {
top.winWijzigBestuurder.destroy();
}
var win = new top.window.Ext.Window({
id: 'winWijzigBestuurder',
title: 'Test',
width: 500,
height: 520,
Icon: "UserEdit",
maximizable: false,
minimizable: false,
toFront: true,
constrainHeader: true,
autoLoad: {
showMask: true,
mode: "iframe",
url: "lease/BestuurderWijzigen.aspx?volgnummer=" + id
}
});
win.show();
}
..and it works...but..When looking into the Chrome element inspector I see the following error in webresource.axd:
Uncaught TypeError: Property 'toFront' of object [object Object] is not a function
Also..did it on Vlad's advise: http://forums.ext.net/showthread.php...hlight=toFront
Where is my error ?
Martin
Last edited by geoffrey.mcgill; Jan 23, 2011 at 4:00 AM.
Reason: [CLOSED]