Skip to content

Commit

Permalink
Merge pull request #2550 from CCAFS/aiccra-dev-A2-392-IPI-2.3
Browse files Browse the repository at this point in the history
🔧 chore(generalMessages): remove info message
  • Loading branch information
MetalPrime authored Jun 20, 2024
2 parents 682cb74 + 68585a5 commit cfb84f2
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions marlo-web/src/main/webapp/global/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,9 @@ $(document).ready(function () {
// WARNING MESSAGE
var message = ""
var messageType = "warning";
if(isProgress == 'true'){
message += "The Information was correctly saved. <br> ";
message += "Some of the fields could be missing or incorrect. <br>";
message += "Don't worry! Some information is not necessary at this phase, but it will be required in the next phase.";
messageType = "info";
}else{
message += "The Information was correctly saved. <br> ";
message += "Please keep in mind that the fields highlighted below are missing or incorrect.";
}

message += "The Information was correctly saved. <br> ";
message += "Please keep in mind that the fields highlighted below are missing or incorrect.";

notifyErrorMessage(messageType, message);
}
Expand Down Expand Up @@ -294,14 +288,6 @@ $(document).ready(function () {
$(containerIcon).addClass("alertColorWarning");
$(messages).removeClass("displayNone");
break;
case "info":
$(element).find('.alertText').html(message);
$(iconAlert).attr("src", baseURL + '/global/images/icon-info.png');
$(containerAlert).addClass("alertColorBackgroundInfo");
$(containerLine).addClass("alertColorInfo");
$(containerIcon).addClass("alertColorInfo");
$(messages).removeClass("displayNone");
break;
case "error":
//Declaraciones ejecutadas cuando el resultado de expresión coincide con valorN
break;
Expand Down

0 comments on commit cfb84f2

Please sign in to comment.