|
@@ -3027,7 +3027,7 @@
|
|
|
success: function(data){
|
|
|
if (data.error !== undefined){
|
|
|
//Error
|
|
|
- targetTaskDisplayObject.find(".progress").removeClass("preparing").removeClass("primary").addClass("negative");
|
|
|
+ targetTaskDisplayObject.find(".progress").removeClass("preparing").removeClass("primary").addClass("error");
|
|
|
msgbox("red remove",applocale.getString("message/" + data.error,data.error));
|
|
|
}else{
|
|
|
//Zip completed.
|
|
@@ -3056,7 +3056,7 @@
|
|
|
|
|
|
},
|
|
|
error: function(){
|
|
|
- targetTaskDisplayObject.find(".progress").removeClass("preparing").removeClass("primary").addClass("negative");
|
|
|
+ targetTaskDisplayObject.find(".progress").removeClass("preparing").removeClass("primary").addClass("error");
|
|
|
targetTaskDisplayObject.find(".bar").css("width", "100%");
|
|
|
msgbox("red remove",applocale.getString("message/zip/fail", "Zipping failed due to unknown reason"));
|
|
|
|
|
@@ -4696,7 +4696,7 @@
|
|
|
if ($(this).attr("taskID") == taskUUID){
|
|
|
//Update this progress bar to completed
|
|
|
$(this).find(".bar").css("width","100%");
|
|
|
- $(this).find(".progress").attr("class","ui tiny negative progress");
|
|
|
+ $(this).find(".progress").attr("class","ui tiny error progress");
|
|
|
$(this).find(".uploadTaskRemoveIcon").show();
|
|
|
$(this).addClass("ended");
|
|
|
}
|
|
@@ -4864,8 +4864,8 @@
|
|
|
console.log(xhr);
|
|
|
$(".uploadTask").each(function(){
|
|
|
if ($(this).attr("taskID") == taskUUID){
|
|
|
- //Upload screwed up. Show negative
|
|
|
- $(this).find(".progress").attr("class","ui tiny negative progress");
|
|
|
+ //Upload screwed up. Show error
|
|
|
+ $(this).find(".progress").attr("class","ui tiny error progress");
|
|
|
$(this).find(".uploadTaskRemoveIcon").show();
|
|
|
$(this).addClass("ended");
|
|
|
}
|