summaryrefslogtreecommitdiffstats
path: root/lib/class/browse.class.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-12-19 12:44:20 -0500
committerPaul Arthur <flowerysong00@yahoo.com>2012-12-19 12:44:20 -0500
commit0982bc392ea22659cf629059b196f1526d66063c (patch)
tree0a165df86c6850c32575503065b7c6fdb250a04a /lib/class/browse.class.php
parent30ff5b00483277b97f5278fe2a7a5b2bf80291f8 (diff)
downloadampache-0982bc392ea22659cf629059b196f1526d66063c.tar.gz
ampache-0982bc392ea22659cf629059b196f1526d66063c.tar.bz2
ampache-0982bc392ea22659cf629059b196f1526d66063c.zip
Use Ajax::action to generate the browse AJAX.
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r--lib/class/browse.class.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index 89cf5933..b38d453a 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -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();