summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-07-31 15:09:08 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 11:26:11 +0100
commit8ff56b0fb3c3a946644c00b0f49a4388f0180b44 (patch)
treee7bd3020f8ca6b8fa373cd7cba17fe94ddc7858c /bitbake
parent1b13222e1c031d29419781e41956bedf643ebd74 (diff)
downloadpoky-8ff56b0fb3c3a946644c00b0f49a4388f0180b44.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/libtoaster.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
index 0000c572ac..afd665ca99 100644
--- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
+++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
@@ -292,6 +292,13 @@ var libtoaster = (function (){
292 return alertMsg.html(); 292 return alertMsg.html();
293 } 293 }
294 294
295 function _showChangeNotification(message){
296 var alertMsg = $("#change-notification-msg");
297
298 alertMsg.html(message);
299 $("#change-notification, #change-notification *").fadeIn();
300 }
301
295 302
296 return { 303 return {
297 reload_params : reload_params, 304 reload_params : reload_params,
@@ -306,6 +313,7 @@ var libtoaster = (function (){
306 dumpsUrlParams : _dumpsUrlParams, 313 dumpsUrlParams : _dumpsUrlParams,
307 addRmLayer : _addRmLayer, 314 addRmLayer : _addRmLayer,
308 makeLayerAddRmAlertMsg : _makeLayerAddRmAlertMsg, 315 makeLayerAddRmAlertMsg : _makeLayerAddRmAlertMsg,
316 showChangeNotification : _showChangeNotification,
309 }; 317 };
310})(); 318})();
311 319