process : function(file, crop)
{
- console.log(process);
+ console.log("process");
if(this.loadMask){
this.maskEl.mask(this.loadingText);
}
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",
var formData = new FormData();
+ formData.append("onid", "43024");
+ formData.append("ontable", "pressrelease_boilerplate");
+
formData.append('returnHTML', 'NO');
if(crop){
if(typeof(file.mimetype) != 'undefined'){
formData.append('mimetype', file.mimetype);
}
+
+ console.log(formData);
if(this.fireEvent('arrange', this, formData) != false){
this.xhr.send(formData);
xhrOnLoad : function(xhr)
{
+ console.log("xhrOnLoad");
+ console.log(xhr);
if(this.loadMask){
this.maskEl.unmask();
}