diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_bottom.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html index 3e4b0cc5a4..8f81472723 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | |||
@@ -38,6 +38,21 @@ | |||
38 | <script> | 38 | <script> |
39 | $(document).ready(function() { | 39 | $(document).ready(function() { |
40 | 40 | ||
41 | // we load cookies for the column display | ||
42 | save = $.cookie('_displaycols_{{objectname}}'); | ||
43 | setting = save.split(';'); | ||
44 | for ( i = 0; i < setting.length; i++) { | ||
45 | if (setting[i].length > 0) { | ||
46 | [id, v] = setting[i].split(':'); | ||
47 | if (v == 'true') { | ||
48 | $('.chbxtoggle#'+id).prop('checked', true); | ||
49 | } | ||
50 | else { | ||
51 | $('.chbxtoggle#'+id).prop('checked', false); | ||
52 | } | ||
53 | } | ||
54 | } | ||
55 | |||
41 | $('.chbxtoggle').each(function () { | 56 | $('.chbxtoggle').each(function () { |
42 | showhideTableColumn($(this).attr('id'), $(this).is(':checked')) | 57 | showhideTableColumn($(this).attr('id'), $(this).is(':checked')) |
43 | }); | 58 | }); |