summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/libtoaster.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/libtoaster.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
index 8e2221d2ae..0832ba40c3 100644
--- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
+++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
@@ -342,10 +342,12 @@ var libtoaster = (function () {
342 } 342 }
343 343
344 function _showChangeNotification(message){ 344 function _showChangeNotification(message){
345 var alertMsg = $("#change-notification-msg"); 345 $(".alert").fadeOut().promise().done(function(){
346 var alertMsg = $("#change-notification-msg");
346 347
347 alertMsg.html(message); 348 alertMsg.html(message);
348 $("#change-notification, #change-notification *").fadeIn(); 349 $("#change-notification, #change-notification *").fadeIn();
350 });
349 } 351 }
350 352
351 function _createCustomRecipe(name, baseRecipeId, doneCb){ 353 function _createCustomRecipe(name, baseRecipeId, doneCb){
@@ -716,6 +718,11 @@ $(document).ready(function() {
716 }); 718 });
717 } 719 }
718 720
721 /* Make sure we don't have a notification overlay a modal */
722 $(".modal").on('show.bs.modal', function(){
723 $(".alert-dismissible").fadeOut();
724 });
725
719 if (libtoaster.debug) { 726 if (libtoaster.debug) {
720 check_for_duplicate_ids(); 727 check_for_duplicate_ids();
721 } else { 728 } else {