Removed code which might interrupt XAJAX from working

This commit is contained in:
Andreas Stöckel 2010-06-09 13:52:38 +00:00
parent 084ef11729
commit 7eb21252af
2 changed files with 7 additions and 7 deletions

View File

@ -331,7 +331,7 @@ class egw_json_response
/** /**
* Deprecated legacy xajax wrapper functions for the new egw_json interface * Deprecated legacy xajax wrapper functions for the new egw_json interface
*/ */
/*
class xajaxResponse extends egw_json_response class xajaxResponse extends egw_json_response
{ {
public function addScript($script) public function addScript($script)
@ -358,4 +358,4 @@ class xajaxResponse extends egw_json_response
{ {
return ''; return '';
} }
} }*/

View File

@ -206,20 +206,20 @@ egw_json_request.prototype.handleResponse = function(data, textStatus, XMLHttpRe
/** /**
* Deprecated legacy xajax wrapper functions for the new egw_json interface * Deprecated legacy xajax wrapper functions for the new egw_json interface
*/ */
/*
_xajax_doXMLHTTP = function(_async, _menuaction, _arguments) _xajax_doXMLHTTP = function(_async, _menuaction, _arguments)
{ {
/* Assemble the parameter array */ /* Assemble the parameter array *//*
var paramarray = new Array(); var paramarray = new Array();
for (var i = 1; i < _arguments.length; i++) for (var i = 1; i < _arguments.length; i++)
{ {
paramarray[paramarray.length] = _arguments[i]; paramarray[paramarray.length] = _arguments[i];
} }
/* Create a new request, passing the menuaction and the parameter array */ /* Create a new request, passing the menuaction and the parameter array *//*
var request = new egw_json_request(_menuaction, paramarray); var request = new egw_json_request(_menuaction, paramarray);
/* Send the request */ /* Send the request *//*
request.sendRequest(_async); request.sendRequest(_async);
return request; return request;
@ -252,4 +252,4 @@ window.xajax = {
alert("\nSerialized:\n" + serialized); alert("\nSerialized:\n" + serialized);
return serialized; return serialized;
} }
}; };*/