diff --git a/pkg/api/bundle/list.go b/pkg/api/bundle/list.go index b8d744b..6720c77 100644 --- a/pkg/api/bundle/list.go +++ b/pkg/api/bundle/list.go @@ -17,7 +17,6 @@ func List(res http.ResponseWriter, req *http.Request, logger *log.Logger, bundle } if len(bundles) <= 0 { - logger.Println("no bundles :: http response returns no content") res.WriteHeader(http.StatusNoContent) return true } diff --git a/server/document_root/assets/js/panelHandlers/bundles/manage.js b/server/document_root/assets/js/panelHandlers/bundles/manage.js index e736850..3590427 100644 --- a/server/document_root/assets/js/panelHandlers/bundles/manage.js +++ b/server/document_root/assets/js/panelHandlers/bundles/manage.js @@ -19,10 +19,9 @@ jQuery('._js_bundles-manage').on('click', function(e){ else { manageBundlesModal.find('.modal-body').html("An error has occurred. Please try again. If problem persists contact server administrator.") } - manageBundlesModal.modal('show'); } else if(xhr.status == 204) { - manageBundlesModal.modal('show'); + manageBundlesModal.find('.modal-body').html("
No bundles current exist on the server.
") } else { if(xhr.response != undefined && xhr.response.length != 0) { @@ -31,7 +30,8 @@ jQuery('._js_bundles-manage').on('click', function(e){ else { manageBundlesModal.find('.modal-body').html(xhr.status + " Error!") } - manageBundlesModal.modal('show'); } } + + manageBundlesModal.modal('show'); }); diff --git a/server/document_root/gPanel.html b/server/document_root/gPanel.html index 5d34e64..2d3ec54 100644 --- a/server/document_root/gPanel.html +++ b/server/document_root/gPanel.html @@ -74,9 +74,7 @@ -No bundles current exist on the server.
-