fixed: remote upload

This commit is contained in:
sajjadcb 2014-03-31 14:20:27 +00:00
parent 5bfee6abff
commit 9bd9b08dc2

View file

@ -205,8 +205,6 @@
$(oneFileForm).find("input[name=desc]").val(data.description);
$(oneFileForm).find("input[name=videoid]").val(vid);
$(oneFileForm).find("input[name=fileName]").val(file_name);
$(".uploadFormContainer").css("display", "block");
$("#uploadFormContainer_remote").css("display", "block");
$("#remoteDownloadStatus").css("display", "none");
$("#submitRemoteUpload").css("display", "block");
@ -231,7 +229,7 @@
$(oneFileForm)
.attr("id", "uploadFormContainer_remote")
.appendTo("#remoteUploadFormContainer");
$(".uploadFormContainer").css("display", "block");
$(oneFileForm).find("form").on({
submit: function(e){
e.preventDefault();