1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 10:49:37 +02:00

Fix advanced search with jQuery and fix #34

This commit is contained in:
Afterster 2013-11-22 21:13:51 +01:00
parent deb8155b54
commit 24f8cf36c6
4 changed files with 65 additions and 47 deletions

View file

@ -44,8 +44,8 @@ Header('content-type: application/x-javascript');
$search = new Search($_REQUEST['type']);
echo 'var types = $H(\'';
echo arrayToJSON($search->types) . "'.evalJSON());\n";
echo 'var basetypes = $H(\'';
echo arrayToJSON($search->basetypes) . "'.evalJSON());\n";
echo 'var types = ';
echo arrayToJSON($search->types) . ";\n";
echo 'var basetypes = ';
echo arrayToJSON($search->basetypes) . ";\n";
echo 'removeIcon = \'<a href="javascript: void(0)">' . UI::get_icon('disable', T_('Remove')) . '</a>\';';