1
0
Fork 0
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:
Paul Arthur 2012-12-19 12:44:20 -05:00
parent 30ff5b0048
commit 0982bc392e

View file

@ -221,7 +221,9 @@ class Browse extends Query {
// Rien a faire
break;
} // 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();