Index: openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/fullscreen.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/fullscreen.tcl,v diff -u -N -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/fullscreen.tcl 3 Jan 2016 20:51:58 -0000 1.1.2.1 +++ openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/fullscreen.tcl 12 Dec 2016 18:38:17 -0000 1.1.2.2 @@ -18,9 +18,16 @@ } +# Add event handlers -ad_return_template +template::add_event_listener -id "body" -event "load" -script { + setTimeout(function(){init();}, 500); +} +template::add_event_listener -id "body" -event "load" -script { + update_parent(); +} + # Local variables: # mode: tcl # tcl-indent-level: 4