Subversion Repositories SmartDukaan

Rev

Rev 34387 | Rev 34813 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34387 Rev 34546
Line 193... Line 193...
193
            response = ajaxResponse;
193
            response = ajaxResponse;
194
        });
194
        });
195
    return response;
195
    return response;
196
}
196
}
197
 
197
 
198
function doAjaxUploadRequestHandler(urlString, httpType, file,
198
function doAjaxUploadRequestHandler(urlString, httpType, file, callback_function) {
199
                                    callback_function) {
-
 
200
    var formData = new FormData();
199
    var formData = new FormData();
201
    formData.append("file", file);
200
    formData.append("file", file);
202
    $.ajax({
201
    $.ajax({
203
        url: urlString,
202
        url: urlString,
204
        type: httpType,
203
        type: httpType,