diff --git a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js index 44bf612a58..4243c2bf01 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js @@ -11,8 +11,7 @@ function layerBtnsInit(ctx) { var thisBtn = $(this); libtoaster.addRmLayer(layerObj, add, function (layerDepsList){ - var alertMsg = $("#alert-msg"); - alertMsg.html(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add)); + libtoaster.showChangeNotification(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add)); /* In-cell notification */ var notification = $('
'); @@ -53,7 +52,6 @@ function layerBtnsInit(ctx) { }); } - $("#zone1alerts, #zone1alerts *").fadeIn(); }); }); diff --git a/bitbake/lib/toaster/toastergui/templates/generic-toastertable-page.html b/bitbake/lib/toaster/toastergui/templates/generic-toastertable-page.html index 654cdf4bab..33aa8ce0d7 100644 --- a/bitbake/lib/toaster/toastergui/templates/generic-toastertable-page.html +++ b/bitbake/lib/toaster/toastergui/templates/generic-toastertable-page.html @@ -10,12 +10,7 @@ {% endif %} - + {% url table_name project.id as xhr_table_url %} {% include "toastertable.html" %}