diff --git a/public/js/script.js b/public/js/script.js index 174b2d3..95c69b1 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -11,9 +11,7 @@ function errorMessageBox(message) { var msg = "Operation failed: " + message + ". " + "Please see error log for details."; - $("#info-body").html(msg); - $("#info-title").html("Error"); - $("#info-popup").modal('show'); + infoMessageBox(msg, "Error"); } // modal with full control function messageBox(body, title, ok_text, close_text, callback){