hide submit in filter of list of devices
This commit is contained in:
parent
b8593bd63f
commit
02752ee2b8
|
@ -30,6 +30,9 @@ $(document).ready(() => {
|
|||
|
||||
;
|
||||
select_shift(); // $('#selectLot').selectpicker();
|
||||
$("#filter").on("change", () => {
|
||||
$("#submit_filter").click();
|
||||
});
|
||||
});
|
||||
|
||||
class TableController {
|
||||
|
|
|
@ -16,6 +16,9 @@ $(document).ready(() => {
|
|||
};
|
||||
select_shift();
|
||||
// $('#selectLot').selectpicker();
|
||||
$("#filter").on("change", () => {
|
||||
$("#submit_filter").click();
|
||||
});
|
||||
})
|
||||
|
||||
class TableController {
|
||||
|
|
|
@ -374,7 +374,7 @@
|
|||
{% endfor %}
|
||||
<input type="hidden" class="d-none" value="1" name="page" />
|
||||
<input type="hidden" class="d-none" value="{{ devices.per_page }}" name="per_page" />
|
||||
<input type="submit" class="ms-2 btn btn-primary" value="Filter" />
|
||||
<input type="submit" id="submit_filter" class="d-none ms-2 btn btn-primary" value="Filter" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
Reference in New Issue