summaryrefslogtreecommitdiffstats
path: root/modules/kajax/ajax.js
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2007-02-23 23:45:46 +0000
committerpb1dft <pb1dft@ampache>2007-02-23 23:45:46 +0000
commit13742eebf7607e39f2378fcdff638832ea264bb5 (patch)
treed7f649387385c3f5bec4b3f9850f008b18e74c98 /modules/kajax/ajax.js
parent6a660dcb5f2bc9b93fdf601309a4cba90ccd5578 (diff)
downloadampache-13742eebf7607e39f2378fcdff638832ea264bb5.tar.gz
ampache-13742eebf7607e39f2378fcdff638832ea264bb5.tar.bz2
ampache-13742eebf7607e39f2378fcdff638832ea264bb5.zip
Fixed a lot of minor thing + play_type_switch for IE7
Diffstat (limited to 'modules/kajax/ajax.js')
-rwxr-xr-xmodules/kajax/ajax.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/kajax/ajax.js b/modules/kajax/ajax.js
index 73cb9064..df2ce6a0 100755
--- a/modules/kajax/ajax.js
+++ b/modules/kajax/ajax.js
@@ -8,10 +8,14 @@
var http_request = false;
var IE = true;
+
// uid is an array of uids that need to be replaced
function ajaxPut(url) {
-
+ var s = document.getElementById('play_type_switch');
+ var type = s.options[s.selectedIndex].value;
+ if (type) { url = url +"&type="+ type;}
+
if (window.ActiveXObject) { // IE
try {
http_request = new ActiveXObject("Msxml2.XMLHTTP");