changed the way how javascritp and css files needed to be referenced when adding...
[Packages/TYPO3.CMS.git] / typo3 / classes / class.backendsearchmenu.php
index ca16d56..13835ca 100644 (file)
@@ -64,7 +64,7 @@ class BackendSearchMenu implements backend_toolbarItem {
 
                $searchMenu[] = '<a href="#" class="toolbar-item"><img'.t3lib_iconWorks::skinImg($this->backPath, 'gfx/magnifier.png', 'width="16" height="16"').' title="Search" alt="" /></a>';
 
-               $searchMenu[] = '<div style="display: none;">';
+               $searchMenu[] = '<div class="toolbar-item-menu" style="display: none;">';
                $searchMenu[] = '<input type="text" id="search-query" name="search-query" value="" />';
                $searchMenu[] = '</div>';
 
@@ -77,7 +77,7 @@ class BackendSearchMenu implements backend_toolbarItem {
         * @return      void
         */
        private function addJavascriptToBackend() {
-               $this->backendReference->addJavascriptFile('typo3/js/backendsearch.js');
+               $this->backendReference->addJavascriptFile('js/backendsearch.js');
        }
 
        /**