/usr/share/php/xajax/xajax_js/xajax_legacy.js is in php-xajax 0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | try{if('undefined'==typeof xajax)
throw{name:'SequenceError',message:'Error: xajax core was not detected, legacy module disabled.'}
if('undefined'==typeof xajax.legacy)
xajax.legacy={}
xajax.legacy.call=xajax.call;xajax.call=function(sFunction,objParameters){var oOpt={}
oOpt.parameters=objParameters;if(undefined!=xajax.loadingFunction){if(undefined==oOpt.callback)
oOpt.callback={}
oOpt.callback.onResponseDelay=xajax.loadingFunction;}
if(undefined!=xajax.doneLoadingFunction){if(undefined==oOpt.callback)
oOpt.callback={}
oOpt.callback.onComplete=xajax.doneLoadingFunction;}
return xajax.legacy.call(sFunction,oOpt);}
xajax.legacy.isLoaded=true;}catch(e){alert(e.name+': '+e.message);}
|