summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html b/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html
index 355ae9073c..434facba93 100644
--- a/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html
+++ b/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html
@@ -41,17 +41,12 @@
41 // load cookie for number of entries to be displayed on page 41 // load cookie for number of entries to be displayed on page
42 if ({{request.GET.count}} != "") { 42 if ({{request.GET.count}} != "") {
43 pagesize = {{request.GET.count}}; 43 pagesize = {{request.GET.count}};
44 } else {
45 pagesize = $.cookie('_count');
46 } 44 }
47
48 $('.pagesize option').prop('selected', false) 45 $('.pagesize option').prop('selected', false)
49 .filter('[value="' + pagesize + '"]') 46 .filter('[value="' + pagesize + '"]')
50 .attr('selected', true); 47 .attr('selected', true);
51 48
52 $(".pagesize").change(function () { 49 $(".pagesize").change(function () {
53 // save cookie with pagesize
54 $.cookie("_count", $(this).val(), { path : $(location).attr('pathname') });
55 reload_params({"count":$(this).val()}); 50 reload_params({"count":$(this).val()});
56 }); 51 });
57}); 52});