summaryrefslogtreecommitdiffstats
path: root/lib/javascript-base.js
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-25 07:21:45 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-25 07:21:45 +0000
commit4040d0623dc6c88ee7119dd00244b8800c8e4684 (patch)
tree0babd4abef3d49cfd64c796a69094e53f1919775 /lib/javascript-base.js
parent608820577f6c5b7cf81860b8bf082285ec01e7f8 (diff)
downloadampache-4040d0623dc6c88ee7119dd00244b8800c8e4684.tar.gz
ampache-4040d0623dc6c88ee7119dd00244b8800c8e4684.tar.bz2
ampache-4040d0623dc6c88ee7119dd00244b8800c8e4684.zip
fixed the page reloads once and for all, had to revert to iframe for democratic play and localplay, fixed an adding issue with democratic play if the songs were left in your active playlist
Diffstat (limited to 'lib/javascript-base.js')
-rw-r--r--lib/javascript-base.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/javascript-base.js b/lib/javascript-base.js
index 4f7ef55d..8d4bb1e1 100644
--- a/lib/javascript-base.js
+++ b/lib/javascript-base.js
@@ -86,12 +86,10 @@ function update_txt(value,field) {
}
// Reload our util frame
-function reload_util() {
- document.getElementById('util_iframe').contentWindow.location.reload(true);
-}
-function reload_util2(target) {
- //document.getElementById('util_iframe').contentWindow.location.href = target;
- document.location.href = target;
+// IE issue fixed by Spocky, we have to use the iframe for Democratic Play & Localplay
+// which don't actually prompt for a new file
+function reload_util(target) {
+ document.getElementById('util_iframe').src = document.getElementById('util_iframe').src;
}
function popup_art(url) {