fixed loading indicator for both search forms
This commit is contained in:
@@ -718,9 +718,11 @@ function materio_search_api_search_form($form, &$form_state){
|
||||
}
|
||||
|
||||
$form['create'] = array(
|
||||
'#type' => 'image_button',
|
||||
'#src' => drupal_get_path('module', 'materio_search_api') . '/images/search.png',
|
||||
'#value' => t('Search'),
|
||||
'#type' => 'image_button',
|
||||
'#src' => drupal_get_path('module', 'materio_search_api') . '/images/search.png',
|
||||
'#value' => t('Search'),
|
||||
'#prefix' => '<div class="search-btn-wrapper">',
|
||||
'#suffix'=> '</div>'
|
||||
);
|
||||
|
||||
// add a back to search/base home bouton if on explore/foo
|
||||
@@ -1110,6 +1112,8 @@ function materio_search_api_advanced_search_form($form, &$form_state){
|
||||
'#title' => t('Search'),
|
||||
'#name' => "search",
|
||||
'#return_value' => "search",
|
||||
'#prefix' => '<div class="search-btn-wrapper">',
|
||||
'#suffix'=> '</div>'
|
||||
);
|
||||
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user