mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
bitbake: toastergui: layerBtn use libtoaster for change notification
Use the common functionality for change notifications. (Bitbake rev: 79af72e1b80b033a37992095b2e97449de5ebd8b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b90a253fa6
commit
c76137e25b
@@ -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 = $('<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) {
|
||||
});
|
||||
}
|
||||
|
||||
$("#zone1alerts, #zone1alerts *").fadeIn();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -10,12 +10,7 @@
|
||||
<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>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div id="zone1alerts" style="display:none">
|
||||
<div class="alert alert-info lead">
|
||||
<button type="button" class="close" id="hide-alert">×</button>
|
||||
<span id="alert-msg"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% url table_name project.id as xhr_table_url %}
|
||||
{% include "toastertable.html" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user