mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Use Ajax::action to generate the browse AJAX.
This commit is contained in:
parent
30ff5b0048
commit
0982bc392e
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ class Browse extends Query {
|
||||||
// Rien a faire
|
// Rien a faire
|
||||||
break;
|
break;
|
||||||
} // end switch on type
|
} // end switch on type
|
||||||
echo '<script type="text/javascript">ajaxPut("' . Config::get('ajax_url') . '?page=browse&action=get_filters&browse_id=' . $this->id . '","");</script>';
|
echo '<script type="text/javascript">';
|
||||||
|
echo Ajax::action('?page=browse&action=get_filters&browse_id=' . $this->id, '');
|
||||||
|
echo ';</script>';
|
||||||
|
|
||||||
Ajax::end_container();
|
Ajax::end_container();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue