1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

bitbake: toaster: fix javascript for table filters

This patch adds javascript link for resetting page filters
in the tool tip "Show all" button.

Also fixes a JS bug for when the cookie is not set yet.

(Bitbake rev: e123922274ea875105e6ed855b3368b8b77fca64)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexandru DAMIAN
2014-02-04 17:38:17 +00:00
committed by Richard Purdie
parent 4157c3849f
commit 97c81e089f
2 changed files with 3 additions and 1 deletions
@@ -40,6 +40,7 @@
// we load cookies for the column display
save = $.cookie('_displaycols_{{objectname}}');
if (save != undefined) {
setting = save.split(';');
for ( i = 0; i < setting.length; i++) {
if (setting[i].length > 0) {
@@ -52,6 +53,7 @@
}
}
}
}
$('.chbxtoggle').each(function () {
showhideTableColumn($(this).attr('id'), $(this).is(':checked'))