From f2987e7ee412057ef99cea4eabe5341c688fe463 Mon Sep 17 00:00:00 2001 From: Suresh Alse Date: Wed, 28 Sep 2016 22:54:53 -0700 Subject: [PATCH] Update script.js --- public/js/script.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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){