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/js/layerBtn.js | |
parent | b90a253fa669710cc202f5890d80d59559d42954 (diff) | |
download | openembedded-core-contrib-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/js/layerBtn.js')
-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) { var thisBtn = $(this); libtoaster.addRmLayer(layerObj, add, function (layerDepsList){ - var alertMsg = $("#alert-msg"); - alertMsg.html(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add)); + libtoaster.showChangeNotification(libtoaster.makeLayerAddRmAlertMsg(layerObj, layerDepsList, add)); /* In-cell notification */ 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) { }); } - $("#zone1alerts, #zone1alerts *").fadeIn(); }); }); |