set browser url when selecting category

This commit is contained in:
Uwe Steinmann 2020-06-19 08:08:56 +02:00
parent dc210cf59c
commit a4ccfe1a7d

View File

@ -44,6 +44,7 @@ class SeedDMS_View_Categories extends SeedDMS_Bootstrap_Style {
$(document).ready( function() {
$( "#selector" ).change(function() {
$('div.ajax').trigger('update', {categoryid: $(this).val()});
window.history.pushState({"html":"","pageTitle":""},"", '../out/out.Categories.php?categoryid=' + $(this).val());
});
});
<?php