diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-07-31 15:09:22 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:26:12 +0100 |
commit | c76137e25b285f3f31c162b888cf14c8999ead07 (patch) | |
tree | 75e07a8c9a72cbb91389cfe43afc6f09a7d82e63 /bitbake/lib/toaster/toastergui/static | |
parent | b90a253fa669710cc202f5890d80d59559d42954 (diff) | |
download | poky-c76137e25b285f3f31c162b888cf14c8999ead07.tar.gz |
bitbake: toastergui: layerBtn use libtoaster for change notification
Use the common functionality for change notifications.
(Bitbake rev: 79af72e1b80b033a37992095b2e97449de5ebd8b)
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/lib/toaster/toastergui/static')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerBtn.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js index 44bf612a58..4243c2bf01 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js | |||
@@ -11,8 +11,7 @@ function layerBtnsInit(ctx) { | |||
11 | var thisBtn = $(this); | 11 | var thisBtn = $(this); |
12 | 12 | ||
13 | libtoaster.addRmLayer(layerObj, add, function (layerDepsList){ | 13 | libtoaster.addRmLayer(layerObj, add, function (layerDepsList){ |
14 | var alertMsg = $("#alert-msg"); | 14 | libtoaster.showChangeNotification(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add)); |
15 | alertMsg.html(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add)); | ||
16 | 15 | ||
17 | /* In-cell notification */ | 16 | /* In-cell notification */ |
18 | var notification = $('<div id="temp-inline-notify" style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner"></div>'); | 17 | var notification = $('<div id="temp-inline-notify" style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner"></div>'); |
@@ -53,7 +52,6 @@ function layerBtnsInit(ctx) { | |||
53 | }); | 52 | }); |
54 | } | 53 | } |
55 | 54 | ||
56 | $("#zone1alerts, #zone1alerts *").fadeIn(); | ||
57 | }); | 55 | }); |
58 | }); | 56 | }); |
59 | 57 | ||