mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
register doXMLHTTPsync as an alias to call doXMLHTTP synchronious
This commit is contained in:
parent
d9d303db6d
commit
583a4b91d7
@ -662,6 +662,7 @@ abstract class egw_framework
|
||||
$xajax->configure('javascript URI',$GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/inc/xajax');
|
||||
$xajax->configure('waitCursor',false);
|
||||
$xajax->register(XAJAX_FUNCTION,'doXMLHTTP');
|
||||
$xajax->register(XAJAX_FUNCTION,'doXMLHTTP',array('mode' => "'synchronous'",'alias' => 'doXMLHTTPsync'));
|
||||
|
||||
$java_script .= $xajax->getJavascript();
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ set_exception_handler('ajax_exception_handler');
|
||||
*
|
||||
* Includs the header and set's up the eGW enviroment.
|
||||
*
|
||||
* @return string with XML response from xajaxResponse::getXML()
|
||||
* @return xajaxResponse object
|
||||
*/
|
||||
function doXMLHTTP()
|
||||
{
|
||||
@ -150,4 +150,5 @@ function doXMLHTTP()
|
||||
$xajax = new xajax();
|
||||
//$xajax->configure('requestURI',$_SERVER['PHP_SELF']);
|
||||
$xajax->register(XAJAX_FUNCTION,'doXMLHTTP');
|
||||
$xajax->register(XAJAX_FUNCTION,'doXMLHTTP',array('mode' => "'synchronous'",'alias' => 'doXMLHTTPsync'));
|
||||
$xajax->processRequest();
|
||||
|
Loading…
Reference in New Issue
Block a user