diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-03 04:14:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-03 04:14:49 +0000 |
commit | 881032d415ef207fda70ddbf93ed012259aaeb2a (patch) | |
tree | 849c30b7468542c6b569a7a6641f7e9f47b85811 /modules/kajax/ajax.js | |
parent | 61e529be4e03bfa21206d2545cd9f5533e384117 (diff) | |
download | ampache-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-x | modules/kajax/ajax.js | 14 |
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");
|