diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-02-04 17:38:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:38:52 +0000 |
commit | 97c81e089ffec1fe11d1d0fa48fabd2e6d418eb9 (patch) | |
tree | d2993f6a688c8d0a6cdaa8f0f8e6f361b98dff98 /bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | |
parent | 4157c3849f1f8083b11ec3658b4f74b3e68dea2d (diff) | |
download | poky-97c81e089ffec1fe11d1d0fa48fabd2e6d418eb9.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_bottom.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html index abce7c24b7..4eb303da79 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | |||
@@ -40,6 +40,7 @@ | |||
40 | 40 | ||
41 | // we load cookies for the column display | 41 | // we load cookies for the column display |
42 | save = $.cookie('_displaycols_{{objectname}}'); | 42 | save = $.cookie('_displaycols_{{objectname}}'); |
43 | if (save != undefined) { | ||
43 | setting = save.split(';'); | 44 | setting = save.split(';'); |
44 | for ( i = 0; i < setting.length; i++) { | 45 | for ( i = 0; i < setting.length; i++) { |
45 | if (setting[i].length > 0) { | 46 | if (setting[i].length > 0) { |
@@ -52,6 +53,7 @@ | |||
52 | } | 53 | } |
53 | } | 54 | } |
54 | } | 55 | } |
56 | } | ||
55 | 57 | ||
56 | $('.chbxtoggle').each(function () { | 58 | $('.chbxtoggle').each(function () { |
57 | showhideTableColumn($(this).attr('id'), $(this).is(':checked')) | 59 | showhideTableColumn($(this).attr('id'), $(this).is(':checked')) |