mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
bitbake: toastergui: libtoaster Add show change notification function
Now that we have a change notification that is global move this functionality to libtoaster for shared use. (Bitbake rev: 9d760462de99cb8729b7e0db773e77d4cd508733) 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
1b13222e1c
commit
8ff56b0fb3
@@ -292,6 +292,13 @@ var libtoaster = (function (){
|
||||
return alertMsg.html();
|
||||
}
|
||||
|
||||
function _showChangeNotification(message){
|
||||
var alertMsg = $("#change-notification-msg");
|
||||
|
||||
alertMsg.html(message);
|
||||
$("#change-notification, #change-notification *").fadeIn();
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
reload_params : reload_params,
|
||||
@@ -306,6 +313,7 @@ var libtoaster = (function (){
|
||||
dumpsUrlParams : _dumpsUrlParams,
|
||||
addRmLayer : _addRmLayer,
|
||||
makeLayerAddRmAlertMsg : _makeLayerAddRmAlertMsg,
|
||||
showChangeNotification : _showChangeNotification,
|
||||
};
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user