aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-28 18:01:04 -0800
committerzotlabs <mike@macgirvin.com>2017-11-28 18:01:04 -0800
commite1a209a3da3913666c00398d3f9e249856a72e69 (patch)
treedf4dfd5510de96f37809453681726d8abf60d0da
parent76703dee8481075a44b254a548bb29b49530d0ad (diff)
downloadvolse-hubzilla-e1a209a3da3913666c00398d3f9e249856a72e69.tar.gz
volse-hubzilla-e1a209a3da3913666c00398d3f9e249856a72e69.tar.bz2
volse-hubzilla-e1a209a3da3913666c00398d3f9e249856a72e69.zip
more chunk work
-rw-r--r--view/js/mod_cloud.js25
1 files changed, 12 insertions, 13 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js
index 25f40e5a5..1a473ac75 100644
--- a/view/js/mod_cloud.js
+++ b/view/js/mod_cloud.js
@@ -25,8 +25,7 @@ function UploadInit() {
maxChunkSize: 100000, // 4 * 1024 * 1024,
add: function(e,data) {
- $('#profile-rotator').show();
- data.submit();
+// data.submit();
},
// done: function(e,data) {
@@ -47,24 +46,24 @@ function UploadInit() {
// is XHR2 available?
- var xhr = new XMLHttpRequest();
- if (xhr.upload) {
+// var xhr = new XMLHttpRequest();
+// if (xhr.upload) {
// file select
- fileselect.attr("multiple", 'multiple');
- fileselect.on("change", UploadFileSelectHandler);
+// fileselect.attr("multiple", 'multiple');
+// fileselect.on("change", UploadFileSelectHandler);
// file submit
- submit.on("click", fileselect, UploadFileSelectHandler);
+// submit.on("click", fileselect, UploadFileSelectHandler);
// file drop
- filedrag.on("dragover", DragDropUploadFileHover);
- filedrag.on("dragleave", DragDropUploadFileHover);
- filedrag.on("drop", DragDropUploadFileSelectHandler);
- }
+// filedrag.on("dragover", DragDropUploadFileHover);
+// filedrag.on("dragleave", DragDropUploadFileHover);
+// filedrag.on("drop", DragDropUploadFileSelectHandler);
+// }
- window.filesToUpload = 0;
- window.fileUploadsCompleted = 0;
+// window.filesToUpload = 0;
+// window.fileUploadsCompleted = 0;
}
// file drag hover