Do all javascript updating after loading document.

This commit is contained in:
Michal Čihař
2010-04-02 13:00:45 +02:00
parent a164ce48e5
commit 0805f5701e

View File

@@ -100,6 +100,7 @@ if (! empty($_SESSION['debug'])) {
<?php <?php
if (empty($GLOBALS['error_message'])) { if (empty($GLOBALS['error_message'])) {
?> ?>
jQuery(document).ready(function(){
// updates current settings // updates current settings
if (window.parent.setAll) { if (window.parent.setAll) {
window.parent.setAll('<?php window.parent.setAll('<?php
@@ -154,6 +155,7 @@ if (window.parent.frame_content) {
//window.parent.frame_content.setAttribute('name', 'frame_content'); //window.parent.frame_content.setAttribute('name', 'frame_content');
//window.parent.frame_content.setAttribute('id', 'frame_content'); //window.parent.frame_content.setAttribute('id', 'frame_content');
} }
});
//]]> //]]>
</script> </script>