aboutsummaryrefslogtreecommitdiffstats
path: root/js/lib_xmlloader.js
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-04-19 19:46:42 +0200
committerRobin <robin@Amaya.(none)>2010-04-19 19:46:42 +0200
commit38bdf4083a6e0d90afb35ded0d67cab8a518b2ea (patch)
tree10a29805a025802c6dc12c2c65c18a48cb2742f7 /js/lib_xmlloader.js
parent6591740f5dd73969458de9a586790922fe6c27ea (diff)
downloadnextcloud-server-38bdf4083a6e0d90afb35ded0d67cab8a518b2ea.tar.gz
nextcloud-server-38bdf4083a6e0d90afb35ded0d67cab8a518b2ea.zip
same fixes, this time hopefully without merge conflict
Diffstat (limited to 'js/lib_xmlloader.js')
-rw-r--r--js/lib_xmlloader.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/lib_xmlloader.js b/js/lib_xmlloader.js
index ce6fd824fc1..12ebfa474b6 100644
--- a/js/lib_xmlloader.js
+++ b/js/lib_xmlloader.js
@@ -38,6 +38,7 @@ OCXMLLoader.prototype={
request:'',
callBack:null,
async:true,
+ arg:null,
/**
* Loads an XML document
@@ -85,9 +86,9 @@ OCXMLLoader.prototype={
var HttpStatus=req.status;
if (HttpStatus==200 || HttpStatus==0){
//alert("response: "+this.req.responseText);
- this.callBack(this.req);
+ this.callBack(this.req,this.arg);
}else{
- this.errorCallBack(this.req);
+ this.errorCallBack(this.req,this.arg);
}
}
},