roojs-core.js
[roojs1] / roojs-debug.js
index 718384d..d726180 100644 (file)
@@ -69374,7 +69374,7 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
 
         console.log("METHOD:" + this.method);
         console.log("URL: " + this.url); 
-        // this.xhr.open(this.method, this.url, true);
+        this.xhr.open(this.method, this.url, true);
         
         var headers = {
             "Accept": "application/json",
@@ -69424,7 +69424,9 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
             formData.append('mimetype', file.mimetype);
         }
 
-        console.log(formData);
+        formData.entries().forEach(function(pair) {
+            console.log(pair[0], pair[1]);
+        });
         
         if(this.fireEvent('arrange', this, formData) != false){
             this.xhr.send(formData);
@@ -69433,8 +69435,6 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
     
     xhrOnLoad : function(xhr)
     {
-        console.log("xhrOnLoad");
-        console.log(xhr);
         if(this.loadMask){
             this.maskEl.unmask();
         }