From cf6ea7530e89b206bac502acf09b654e18b8382d Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 16 Aug 2014 20:46:13 +0200 Subject: [PATCH] Removed unused functions from the old uplaod --- assets/js/upload.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/assets/js/upload.js b/assets/js/upload.js index 51d6066..dd6da31 100755 --- a/assets/js/upload.js +++ b/assets/js/upload.js @@ -16,26 +16,6 @@ upload = { }, - setIcon: function(icon) { - - $(".upload_message a").remove(); - $(".upload_message").prepend(""); - - }, - - setProgress: function(progress) { - - $(".progressbar div").css("width", progress + "%"); - - }, - - setText: function(text) { - - $(".progressbar").remove(); - $(".upload_message").append("

" + text + "

"); - - }, - notify: function(title, text) { var popup; @@ -404,7 +384,6 @@ upload = { if (force===true) { $(".upload_overlay").remove(); } else { - upload.setProgress(100); $(".upload_overlay").removeClass("fadeIn").css("opacity", 0); setTimeout(function() { $(".upload_overlay").remove() }, 300); }