Jan 09, 2015, 2:25 PM
[CLOSED] migrating ext.window javasript to 2.x
Hello,
I'm migrating our web client to 2.x. on version 1.x I have a javascript funtion wich dinamically creates a window and opens an url inside it.
How I have to change this function to get it working again?
Thanks.
I'm migrating our web client to 2.x. on version 1.x I have a javascript funtion wich dinamically creates a window and opens an url inside it.
<script type="text/javascript">
var newWindow = function (url, config) {
new Ext.Window(Ext.apply({
renderTo: Ext.getBody(),
resizable: false,
title: "Test",
height: 500,
width: 500,
frame: true,
autoLoad: {
showMask: true,
mode: "iframe",
url: url
}
}, config)).show();
}
</script>
Unfortunatelly on version 2.x the window is created and opened but the content of the url is not shown . (the url wich is another aspx page is called)How I have to change this function to get it working again?
Thanks.
Last edited by Daniil; Jan 12, 2015 at 5:34 PM.
Reason: [CLOSED]