diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-14 06:44:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-14 06:44:50 +0000 |
commit | 421805ce6ab1d3b2e0a16346c544eadf2d44f8be (patch) | |
tree | 61604c8fb8cc23f8cdd196e51c41b31f37c347ae /templates/rightbar.inc.php | |
parent | cd935ce9508fac75637cac57c3d7855e1f3f754a (diff) | |
download | ampache-421805ce6ab1d3b2e0a16346c544eadf2d44f8be.tar.gz ampache-421805ce6ab1d3b2e0a16346c544eadf2d44f8be.tar.bz2 ampache-421805ce6ab1d3b2e0a16346c544eadf2d44f8be.zip |
fixed the playlist methods, they all work now... semi-bug where the rightbar does not refresh when the playlist is cleared so its not obvious it worked until a manual reload, will fix later
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r-- | templates/rightbar.inc.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php index 155fd420..85d935c5 100644 --- a/templates/rightbar.inc.php +++ b/templates/rightbar.inc.php @@ -100,11 +100,7 @@ // We do a little magic here to force a iframe reload depending on preference // We do this last because we want it to load, and we want to know if there is anything // to even pass -if ($GLOBALS['user']->prefs['playlist_method'] != 'default' AND AJAX_INCLUDE == '1' AND count($objects)) { - // Set the target - $_SESSION['iframe']['target'] = Config::get('web_path') . '/stream.php?action=basket'; - echo "<script type=\"text/javascript\">"; - echo "reload_util();"; - echo "</script>"; +if (count($objects)) { + Stream::run_playlist_method(); } ?> |