summaryrefslogtreecommitdiffstats
path: root/modules/kajax/ajax.js
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-03 04:14:49 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-03 04:14:49 +0000
commit881032d415ef207fda70ddbf93ed012259aaeb2a (patch)
tree849c30b7468542c6b569a7a6641f7e9f47b85811 /modules/kajax/ajax.js
parent61e529be4e03bfa21206d2545cd9f5533e384117 (diff)
downloadampache-881032d415ef207fda70ddbf93ed012259aaeb2a.tar.gz
ampache-881032d415ef207fda70ddbf93ed012259aaeb2a.tar.bz2
ampache-881032d415ef207fda70ddbf93ed012259aaeb2a.zip
basic sidebar switching functionality and updated ajax js file
Diffstat (limited to 'modules/kajax/ajax.js')
-rwxr-xr-xmodules/kajax/ajax.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/modules/kajax/ajax.js b/modules/kajax/ajax.js
index df2ce6a0..8efa6406 100755
--- a/modules/kajax/ajax.js
+++ b/modules/kajax/ajax.js
@@ -1,21 +1,9 @@
-// Copyright Ampache.org 2001 - 2006
-// All Rights Reserved
-// Origional Author: Kevin Riker
-// Added Multi-Value XML based GET/POST replacement * Karl Vollmer
-// Added Auto-Detects source/target information based on XML Doc Elements and
-// Form Elements if it's a post call * Karl Vollmer
-// Licensed under the GNU/GPL
-
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");