diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_bottom.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html index d48ad92020..4c28cae810 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | |||
| @@ -60,8 +60,6 @@ | |||
| 60 | // load cookie for number of entries to be displayed on page | 60 | // load cookie for number of entries to be displayed on page |
| 61 | if ({{request.GET.count}} != "") { | 61 | if ({{request.GET.count}} != "") { |
| 62 | pagesize = {{request.GET.count}}; | 62 | pagesize = {{request.GET.count}}; |
| 63 | } else { | ||
| 64 | pagesize = $.cookie('_count'); | ||
| 65 | } | 63 | } |
| 66 | 64 | ||
| 67 | $('.pagesize option').prop('selected', false) | 65 | $('.pagesize option').prop('selected', false) |
| @@ -84,8 +82,6 @@ | |||
| 84 | $('.progress, .lead span').tooltip({container:'table', placement:'top'}); | 82 | $('.progress, .lead span').tooltip({container:'table', placement:'top'}); |
| 85 | 83 | ||
| 86 | $(".pagesize").change(function () { | 84 | $(".pagesize").change(function () { |
| 87 | // save cookie with pagesize | ||
| 88 | $.cookie("_count", $(this).val(), { path : $(location).attr('pathname') }); | ||
| 89 | reload_params({"count":$(this).val()}); | 85 | reload_params({"count":$(this).val()}); |
| 90 | }); | 86 | }); |
| 91 | }); | 87 | }); |
