diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-10-05 17:08:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-06 11:41:48 +0100 |
commit | 7f67977518d69dc84cbbcc4cf1ea859c51e57d18 (patch) | |
tree | 69db092afd84dae2d7af07af4da24083eca01412 /bitbake/lib/toaster/toastergui/static | |
parent | 8df56061f63b63b77a0c7a7ddd75812e3b5a88c4 (diff) | |
download | poky-7f67977518d69dc84cbbcc4cf1ea859c51e57d18.tar.gz |
bitbake: toaster: Delete notification update front end implementation to design
Update the delete notifications to reflect feedback from design
review comments.
(Bitbake rev: e47a1cc160c0f1da060884a8585403b35375fb09)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
-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); |