On 4 July 2016 at 14:31, Barros Pena, Belen <[email protected]> wrote:
> > > On 30/06/2016 18:19, "[email protected] on behalf of > Michael Wood" <[email protected] on behalf of > [email protected]> wrote: > > >Some pages contain other build buttons which may have the same class > >attached. Make sure that we only select the buttons in the tables where > >layerBtn is used. > Upstreamed to bitbake-devel and pushed to toaster-next. Thanks. Elliot > > > >[YOCTO #9841] > > This works for me. > > Thanks! > > Belén > > > > >Signed-off-by: Michael Wood <[email protected]> > >--- > > bitbake/lib/toaster/toastergui/static/js/layerBtn.js | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > >diff --git a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js > >b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js > >index 259271d..9f9eda1 100644 > >--- a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js > >+++ b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js > >@@ -55,8 +55,8 @@ function layerBtnsInit() { > > }); > > }); > > > >- $(".build-recipe-btn").unbind('click'); > >- $(".build-recipe-btn").click(function(e){ > >+ $("td .build-recipe-btn").unbind('click'); > >+ $("td .build-recipe-btn").click(function(e){ > > e.preventDefault(); > > var recipe = $(this).data('recipe-name'); > > > >-- > >2.7.4 > > > >-- > >_______________________________________________ > >toaster mailing list > >[email protected] > >https://lists.yoctoproject.org/listinfo/toaster > > -- > _______________________________________________ > toaster mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/toaster > -- Elliot Smith Software Engineer Intel Open Source Technology Centre
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
