summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/basetable_bottom.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-02-04 17:38:17 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:38:26 +0000
commite123922274ea875105e6ed855b3368b8b77fca64 (patch)
tree6a41a5e469c9efed6629708d10c4c780e8fcda77 /lib/toaster/toastergui/templates/basetable_bottom.html
parente39857162b5d91cc2f92843a9a14599bab369849 (diff)
downloadbitbake-e123922274ea875105e6ed855b3368b8b77fca64.tar.gz
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/basetable_bottom.html')
-rw-r--r--lib/toaster/toastergui/templates/basetable_bottom.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/basetable_bottom.html b/lib/toaster/toastergui/templates/basetable_bottom.html
index abce7c24b..4eb303da7 100644
--- a/lib/toaster/toastergui/templates/basetable_bottom.html
+++ b/lib/toaster/toastergui/templates/basetable_bottom.html
@@ -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'))