X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fprive%2Fjavascript%2Fasync_upload.js;h=54de5fc2abe48e2bbb65371c673f96989a0d3e93;hp=c5eef88b4dfc86c68295dc90730d5f29caeacff6;hb=e99f0878011913365e49b30d90e496c24c301393;hpb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed diff --git a/www/prive/javascript/async_upload.js b/www/prive/javascript/async_upload.js index c5eef88..54de5fc 100644 --- a/www/prive/javascript/async_upload.js +++ b/www/prive/javascript/async_upload.js @@ -33,7 +33,7 @@ var iframeHandler = function(data,jForm,success) { zip_form .find("form") .async_upload(function(res,s){ - success(res,s,jForm); + success(res,s,'',jForm); }); jForm.after(zip_form[0]); return false; @@ -52,7 +52,7 @@ function async_upload_before_submit(data,form) { .val(""); }; -function async_upload_article_edit(res,s,jForm){ +function async_upload_article_edit(res,s,xhr,jForm){ res = iframeHandler(res,jForm,async_upload_article_edit); if(!res) return true; var cont; @@ -95,7 +95,7 @@ function async_upload_article_edit(res,s,jForm){ return true; } -function async_upload_icon(res,s,jForm) { +function async_upload_icon(res,s,xhr,jForm) { res = iframeHandler(res,jForm); if(!res) return true; res.find(">div").each(function(){ @@ -107,7 +107,7 @@ function async_upload_icon(res,s,jForm) { return true; } -function async_upload_portfolio_documents(res,s,jForm){ +function async_upload_portfolio_documents(res,s,xhr,jForm){ res = iframeHandler(res,jForm,async_upload_portfolio_documents); if(!res) return true;