dhtmlxwindow ajax load with toolbar not running javascript

I have a window that loads an ajax page. I want to change the toolbar of the window from my ajax page but I am unable to get any javscript to fire in the ajax page.



Is this a known problem or am I doing something wrong.



If I change the attachURL ajax parameter to false it works.


hello,


the latest windows version executes javascript that is defined in the tags.


Do you use the latest version of the windows ? please, provide the complete demo where the issue can be reproduced.


I am using version dhtmlxWindows v.2.5 Standard edition build 090904



You can test this using your sample 12_inner_close



change   inner_close_url.html to have in the body



 win.attachURL("…/common/inner_close_url.html?etc="+new Date().getTime(),false); works



 win.attachURL("…/common/inner_close_url.html?etc="+new Date().getTime(),true); no alert


The issue wasn’t reproduced. The sample is attached
sample_ajax.zip (40 KB)


Your Demo works with me but if I replace your code base with mine it does not work.



Am I build behind? my version is pro full modified 04/09/09



 


Sorry, yes. The issue is confirmed for the 04/09/09 built.


Please, try to use dhtmlxcontainer.js from the provided sample. You an include it after dhtmlx.js.


If you need the latest dhtmlx.js, please contact us at support@dhtmlx.com, provide your ref.number and we’ll send the file.