diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-14 17:29:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-14 17:29:07 +0000 |
commit | 78167c02518ff9d757741f0e8df524da300d067d (patch) | |
tree | d5fbbc41f6e807439de0d34ca9a06616dd961d04 /modules/kajax/ajax.js | |
parent | 9a16ee2c2ce55e7693c9432be2466210a0ebc6df (diff) | |
download | ampache-78167c02518ff9d757741f0e8df524da300d067d.tar.gz ampache-78167c02518ff9d757741f0e8df524da300d067d.tar.bz2 ampache-78167c02518ff9d757741f0e8df524da300d067d.zip |
removed extra lines from ajax, down to 86, updated ajax calls, added ldap auth
Diffstat (limited to 'modules/kajax/ajax.js')
-rwxr-xr-x | modules/kajax/ajax.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/kajax/ajax.js b/modules/kajax/ajax.js index eb80d75e..84704400 100755 --- a/modules/kajax/ajax.js +++ b/modules/kajax/ajax.js @@ -9,30 +9,6 @@ var http_request = false;
var IE = true;
- function ajaxRequest(url) {
- if (window.ActiveXObject) { // IE
- try {
- http_request = new ActiveXObject("Msxml2.XMLHTTP");
- }
- catch (e) {
- try {
- http_request = new ActiveXObject("Microsoft.XMLHTTP");
- }
- catch (e) {}
- }
- }
- else { // Mozilla
- IE = false;
- http_request = new XMLHttpRequest();
- }
- if (!http_request) {
- return false;
- }
- http_request.onreadystatechange = function() { };
- http_request.open('GET', url, true);
- http_request.send(null);
- }
-
// uid is an array of uids that need to be replaced
function ajaxPut(url) {
if (window.ActiveXObject) { // IE
|