diff options
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 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 9339ae8bcc..99552de8c1 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |||
@@ -261,6 +261,8 @@ function layerDetailsPageInit (ctx) { | |||
261 | $("#alert-area").show(); | 261 | $("#alert-area").show(); |
262 | } | 262 | } |
263 | 263 | ||
264 | $("#dismiss-alert").click(function(){ $(this).parent().hide() }); | ||
265 | |||
264 | /* Add or remove this layer from the project */ | 266 | /* Add or remove this layer from the project */ |
265 | addRmLayerBtn.click(function() { | 267 | addRmLayerBtn.click(function() { |
266 | var directive = $(this).data('directive'); | 268 | var directive = $(this).data('directive'); |
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 7a1a22daa2..0321a0b192 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -72,7 +72,7 @@ | |||
72 | 72 | ||
73 | <div class="row-fluid span7 tabbable"> | 73 | <div class="row-fluid span7 tabbable"> |
74 | <div class="alert alert-info lead" id="alert-area" style="display:none"> | 74 | <div class="alert alert-info lead" id="alert-area" style="display:none"> |
75 | <button type="button" class="close" id="dismiss-alert" data-dismiss="alert">×</button> | 75 | <button type="button" class="close" id="dismiss-alert">×</button> |
76 | <span id="alert-msg"></span> | 76 | <span id="alert-msg"></span> |
77 | </div> | 77 | </div> |
78 | <ul class="nav nav-pills"> | 78 | <ul class="nav nav-pills"> |