Hi,
I am using HTMLFlow with contentsURL. The returned content contains scripts, only part of them is evaluated. Here are details:
in GWT entry point:
in test.html:
The problem is that second alert isn't shown. It is solved if I move the last line (external script include) to the beginning.
Is it a known problem? It has a general solution?
P.S.
I think there is a problem in HTMLFlow.js: getScript function.
(scripts[] and scriptIncludes[] arrays are not in the same sizes, but loadedRemoteScriptBlock gets i (index inside scriptIncludes[]) and removes item from scripts[]). I've got a fix for it, is it possible to enter it?
thanks a lot
I am using HTMLFlow with contentsURL. The returned content contains scripts, only part of them is evaluated. Here are details:
in GWT entry point:
Code:
HTMLFlow htmlFlow = new HTMLFlow(); htmlFlow.setWidth(230); htmlFlow.setEvalScriptBlocks(true); htmlFlow.setContentsURL("test.html");
Code:
<script type="text/javascript" > alert(1); </script> <script type="text/javascript"> alert(2); </script> <script type="text/javascript" src="/js/test.js"></script>
Is it a known problem? It has a general solution?
P.S.
I think there is a problem in HTMLFlow.js: getScript function.
(scripts[] and scriptIncludes[] arrays are not in the same sizes, but loadedRemoteScriptBlock gets i (index inside scriptIncludes[]) and removes item from scripts[]). I've got a fix for it, is it possible to enter it?
thanks a lot
Comment