From 9a058755d5d6c441342cbcb0e773d87e46d33683 Mon Sep 17 00:00:00 2001 From: Siva Bavanasi Date: Wed, 10 Dec 2014 11:26:53 +0530 Subject: [PATCH] Closes-Bug:#1400992 - Baremetal : UI should show proper error message when port creation fails Change-Id: Ic9e22f703bf2732ac3ec4a82e05d8eb20dcfbb03 --- .../physicalinterfaces/ui/js/physicalinterfaces_config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webroot/config/physicaldevices/physicalinterfaces/ui/js/physicalinterfaces_config.js b/webroot/config/physicaldevices/physicalinterfaces/ui/js/physicalinterfaces_config.js index 616eef1a5..ef4afc7c5 100644 --- a/webroot/config/physicaldevices/physicalinterfaces/ui/js/physicalinterfaces_config.js +++ b/webroot/config/physicaldevices/physicalinterfaces/ui/js/physicalinterfaces_config.js @@ -313,6 +313,7 @@ function physicalInterfacesConfig() { } window.failureHandlerForVMICreation = function(xhr, status, error) { + showInfoWindow(error, status); fetchData(); } @@ -950,7 +951,7 @@ function physicalInterfacesConfig() { window.failureHandlerForVNInternals = function(error){ var r = arguments; - showInfoWindow(r[0].responseText,r[2]) + showInfoWindow(r[0].responseText,r[2]); } function fetchConfigurations() {