summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/layerBtn.js4
-rw-r--r--bitbake/lib/toaster/toastergui/templates/generic-toastertable-page.html7
2 files changed, 2 insertions, 9 deletions
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) {
11 var thisBtn = $(this); 11 var thisBtn = $(this);
12 12
13 libtoaster.addRmLayer(layerObj, add, function (layerDepsList){ 13 libtoaster.addRmLayer(layerObj, add, function (layerDepsList){
14 var alertMsg = $("#alert-msg"); 14 libtoaster.showChangeNotification(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add));
15 alertMsg.html(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add));
16 15
17 /* In-cell notification */ 16 /* In-cell notification */
18 var notification = $('<div id="temp-inline-notify" style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner"></div>'); 17 var notification = $('<div id="temp-inline-notify" style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner"></div>');
@@ -53,7 +52,6 @@ function layerBtnsInit(ctx) {
53 }); 52 });
54 } 53 }
55 54
56 $("#zone1alerts, #zone1alerts *").fadeIn();
57 }); 55 });
58 }); 56 });
59 57
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 @@
10 <i class="icon-question-sign get-help heading-help" title="This page lists {{title}} compatible with the release selected for this project, which is {{project.release.description}}"></i> 10 <i class="icon-question-sign get-help heading-help" title="This page lists {{title}} compatible with the release selected for this project, which is {{project.release.description}}"></i>
11 {% endif %} 11 {% endif %}
12</h2> 12</h2>
13<div id="zone1alerts" style="display:none"> 13
14 <div class="alert alert-info lead">
15 <button type="button" class="close" id="hide-alert">&times;</button>
16 <span id="alert-msg"></span>
17 </div>
18</div>
19{% url table_name project.id as xhr_table_url %} 14{% url table_name project.id as xhr_table_url %}
20{% include "toastertable.html" %} 15{% include "toastertable.html" %}
21 16