diff --git a/phpgwapi/inc/class.egw_json.inc.php b/phpgwapi/inc/class.egw_json.inc.php index 53ce04295c..323c7d4a93 100644 --- a/phpgwapi/inc/class.egw_json.inc.php +++ b/phpgwapi/inc/class.egw_json.inc.php @@ -351,7 +351,6 @@ class egw_json_response /** * Deprecated legacy xajax wrapper functions for the new egw_json interface */ -/* class xajaxResponse extends egw_json_response { public function addScript($script) @@ -378,4 +377,4 @@ class xajaxResponse extends egw_json_response { return ''; } -}*/ +} diff --git a/phpgwapi/js/egw_json.js b/phpgwapi/js/egw_json.js index ce7d392b3d..a46eba12c0 100644 --- a/phpgwapi/js/egw_json.js +++ b/phpgwapi/js/egw_json.js @@ -226,7 +226,6 @@ egw_json_request.prototype.handleResponse = function(data, textStatus, XMLHttpRe /** * Deprecated legacy xajax wrapper functions for the new egw_json interface */ -/* _xajax_doXMLHTTP = function(_async, _menuaction, _arguments) { /* Assemble the parameter array *//* @@ -239,7 +238,7 @@ _xajax_doXMLHTTP = function(_async, _menuaction, _arguments) /* Create a new request, passing the menuaction and the parameter array *//* var request = new egw_json_request(_menuaction, paramarray); - /* Send the request *//* + /* Send the request */ request.sendRequest(_async); return request; @@ -272,4 +271,4 @@ window.xajax = { alert("\nSerialized:\n" + serialized); return serialized; } -};*/ +};