View | Details | Raw Unified | Return to bug 30878
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt (-1 / +9 lines)
Lines 261-266 Link Here
261
              });
261
              });
262
            });
262
            });
263
263
264
            var activeTab = localStorage.getItem("waitingreserves_activetab");
265
            if( activeTab ){
266
                $("div#resultlist li:eq(" + activeTab + ") a").tab("show");
267
            }
268
            $("div#resultlist a[data-toggle='tab']").on("shown.bs.tab", function (e) {
269
                var thisTab = $(e.target).parent();
270
                var activeTab = thisTab.index();
271
                localStorage.setItem("waitingreserves_activetab", activeTab );
272
            });
264
273
265
        });
274
        });
266
    </script>
275
    </script>
267
- 

Return to bug 30878