protected function processClearAllTables() { $advanced_searchs_id = AdvancedSearchClass::getSearchsId(false); AdvancedSearchClass::clearAllTables(); foreach ($advanced_searchs_id as $key => $row) { $this->_html .= 'removeTabPanel("#wrapAsTab","li#TabSearchAdminPanel' . $row['id_search'] . '","ul#asTab", ' . (int) version_compare(_PS_VERSION_, '1.6.0.0', '>=') . ');'; } $this->_html .= '$jqPm(window).scrollTo("#wrapAsTab",500,{onAfter:function() { show_info("' . addcslashes($this->l('Clear done'), '"') . '"); $jqPm("#msgNoResults").slideDown(); }});'; }