theme preview - that was easy; plus a bit more tweaking of the saved search widget to try and get the sucker to auto submit
This commit is contained in:
parent
6adb180911
commit
2ebb8851f6
@ -72,7 +72,7 @@ class Search_ac extends \Zotlabs\Web\Controller {
|
||||
);
|
||||
echo json_encode($o);
|
||||
|
||||
logger('search_ac: ' . print_r($x,true));
|
||||
logger('search_ac: ' . print_r($x,true),LOGGER_ALL,LOG_INFO);
|
||||
|
||||
killme();
|
||||
}
|
||||
|
@ -66,6 +66,8 @@ class Theme {
|
||||
$chosen_theme = $page_theme;
|
||||
}
|
||||
}
|
||||
if(array_key_exists('theme_preview',$_GET))
|
||||
$chosen_theme = $_GET['theme_preview'];
|
||||
|
||||
// Allow theme selection of the form 'theme_name:schema_name'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
$(document).ready(function() {
|
||||
$("#search-text").contact_autocomplete(baseurl + '/search_ac');
|
||||
$("#search-text").contact_autocomplete(baseurl + '/search_ac','',true);
|
||||
$('.jslider-scale ins').addClass('hidden-xs');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user