thomascube
2011-03-01 79cd6cefd5996031ebb93ffdac609d503553afb0
Simplify code

1 files modified
3 ■■■■ changed files
program/include/rcube_template.php 3 ●●●● patch | view | raw | blame | history
program/include/rcube_template.php
@@ -75,12 +75,11 @@
        $this->set_skin($this->config['skin']);
        // add common javascripts
        $javascript = 'var '.JS_OBJECT_NAME.' = new rcube_webmail();';
        $this->add_script('var '.JS_OBJECT_NAME.' = new rcube_webmail();', 'head_top');
        // don't wait for page onload. Call init at the bottom of the page (delayed)
        $this->add_script(JS_OBJECT_NAME.'.init();', 'docready');
        $this->add_script($javascript, 'head_top');
        $this->scripts_path = 'program/js/';
        $this->include_script('jquery-1.5.min.js');
        $this->include_script('common.js');