Skip to content
Snippets Groups Projects
Commit 9830669d authored by Ghislain Loas's avatar Ghislain Loas
Browse files

sandbox search input move call

parent 308736bc
Branches
Tags
3 merge requests!1659Master,!1641Sandbox search input for admin menu,!1621Sandbox search input for admin menu
......@@ -2,7 +2,7 @@
Class_ScriptLoader::getInstance()
->addJQueryReady('$(".main > .modules").search_input(' . json_encode(['id' => 'input_content_menu',
'label' => $this->_('Filtrer les domaines '),
'fixed_display' => 'a, img, h1, h3, h3 + div , .error, h3 + div *']) . ');');
'fixed_display' => 'li > *center, center > *, br, .bouton, a *, a, img, h1, h3, h3 + div , .error, h3 + div *']) . ');');
?>
<?php if (Class_Users::getIdentity()->hasRightAccessDomaines()) { ?>
<center>
......
......@@ -19,10 +19,7 @@
->addJQueryReady('initializePopups();')
->showNotifications()
->loadPrettyPhoto()
->addOPACPluginScript('search_input/search_input.js')
->addJQueryReady('$(".main > .left").search_input(' . json_encode(['id' => 'input_search_menu',
'label' => $this->_('Chercher dans le menu'),
'fixed_display' => '.menuGaucheAdmin tr, .titre, img']) . ');');
->addOPACPluginScript('search_input/search_input.js');
Class_Admin_Skin::current()->renderScriptsOn($head_scripts);
......
......@@ -315,6 +315,11 @@ class ZendAfi_View_Helper_Admin_MenuGaucheAdmin extends ZendAfi_View_Helper_Base
public function menuGaucheAdmin() {
Class_ScriptLoader::getInstance()
->addJQueryReady('$(".main > .left").search_input(' . json_encode(['id' => 'input_search_menu',
'label' => $this->_('Chercher dans le menu '),
'fixed_display' => '.menuGaucheAdmin tr, .titre, img, table, tbody, td']) . ');');
$this->user = Class_Users::getIdentity();
return
......
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