Commit a30683f3 authored by Łukasz Nowak's avatar Łukasz Nowak

Wait for document to be ready.

This is good technique in order to have the whole DOM prepared.
parent 5d43ae87
......@@ -48,9 +48,11 @@
<h1 i18n:translate="" i18n:domain="ui">Request a Software Instance</h1>\n
<div id="js_container"></div>\n
<script type="text/javascript">\n
$.ajaxSetup ({cache: false});\n
$(window).hashchange(hashController);\n
$(window).hashchange();\n
$(document).ready(function() {\n
$.ajaxSetup ({cache: false});\n
$(window).hashchange(hashController);\n
$(window).hashchange();\n
});\n
</script>\n
</div>\n
</tal:block>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment