diff options
-rw-r--r-- | lib/class/browse.class.php | 4 |
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(); |