commented trace
This commit is contained in:
parent
3d36e980af
commit
e1a04d9b8e
@ -131,7 +131,7 @@ MaterioSearchApiAjax = function(){
|
||||
};
|
||||
|
||||
function changeContent(json){
|
||||
trace('MaterioSearchApiAjax changeContent | json', json);
|
||||
//trace('MaterioSearchApiAjax changeContent | json', json);
|
||||
|
||||
if(json.returned){
|
||||
$.event.trigger('loaded-content');
|
||||
@ -197,7 +197,7 @@ MaterioSearchApiAjax = function(){
|
||||
};
|
||||
|
||||
function loadNextPage(url, keys, $container, target){
|
||||
//trace('MaterioSearchApiAjax :: loadNextPage()');
|
||||
// trace('MaterioSearchApiAjax :: loadNextPage()');
|
||||
_isloadingresults = true;
|
||||
$container.addClass('loading');
|
||||
$.getJSON(url, {'keys':keys}, function(json){
|
||||
|
@ -711,7 +711,7 @@ function template_preprocess_materio_search_api_results(array &$variables) {
|
||||
$variables['search_performance'] .= format_plural(
|
||||
$results['could results']['result count'],
|
||||
' You could find 1 result with a ',
|
||||
' You could find @count results with a '
|
||||
' You could find <strong>@count results</strong> with a '
|
||||
);
|
||||
$variables['search_performance'] .= l(t('full access to materiO\'.'), 'node/11187');
|
||||
|
||||
|
@ -52,8 +52,8 @@ function materio_search_api_ajax_search($page = 0){
|
||||
|
||||
user_save($user, array("data"=>array('materiosearchapi_bundlesfilter' => $active_types)));
|
||||
|
||||
# if we are not already on the search page then don't respond with search results but redirect to search page
|
||||
if(isset($_GET['current_path'])){
|
||||
// dsm($_GET['current_path'], '$_GET[current_path]');
|
||||
// url() generates the prefix using hook_url_outbound_alter(). Instead of
|
||||
// running the hook_url_outbound_alter() again here, extract the prefix
|
||||
// from url().
|
||||
@ -74,7 +74,7 @@ function materio_search_api_ajax_search($page = 0){
|
||||
}
|
||||
|
||||
// dsm($path, 'path');
|
||||
// get results
|
||||
// execute the searcj path and retrive results
|
||||
menu_set_active_item($path);
|
||||
$return = menu_execute_active_handler($path, FALSE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user