diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/libtoaster.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 4c0d0426eb..9ead393cbf 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |||
@@ -392,6 +392,8 @@ function layerDetailsPageInit (ctx) { | |||
392 | 392 | ||
393 | $("#layer-delete-confirmed").click(function(){ | 393 | $("#layer-delete-confirmed").click(function(){ |
394 | 394 | ||
395 | $("#delete-layer-modal button[data-dismiss='modal']").hide(); | ||
396 | |||
395 | var message = $('<span>You have deleted <strong>1</strong> layer from your project: <strong id="deleted-layer-name"></strong>'); | 397 | var message = $('<span>You have deleted <strong>1</strong> layer from your project: <strong id="deleted-layer-name"></strong>'); |
396 | message.find("#deleted-layer-name").text(ctx.layerVersion.name); | 398 | message.find("#deleted-layer-name").text(ctx.layerVersion.name); |
397 | 399 | ||
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index 0832ba40c3..86662b7a68 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js | |||
@@ -342,7 +342,7 @@ var libtoaster = (function () { | |||
342 | } | 342 | } |
343 | 343 | ||
344 | function _showChangeNotification(message){ | 344 | function _showChangeNotification(message){ |
345 | $(".alert").fadeOut().promise().done(function(){ | 345 | $(".alert-dismissible").fadeOut().promise().done(function(){ |
346 | var alertMsg = $("#change-notification-msg"); | 346 | var alertMsg = $("#change-notification-msg"); |
347 | 347 | ||
348 | alertMsg.html(message); | 348 | alertMsg.html(message); |