[UPDT] HORILLA VIEWS: Feature limit option
This commit is contained in:
@@ -256,9 +256,11 @@
|
|||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
$(".oh-btn--view-active").click();
|
$(".oh-btn--view-active").click();
|
||||||
|
{% if apply_first_filter %}
|
||||||
if (!$(".oh-btn--view-active").length) {
|
if (!$(".oh-btn--view-active").length) {
|
||||||
$("#applyFilter").click()
|
$("#applyFilter").click()
|
||||||
}
|
}
|
||||||
|
{% endif %}
|
||||||
}, 100);
|
}, 100);
|
||||||
$(".oh-btn--view").click(function (e) {
|
$(".oh-btn--view").click(function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
{% comment %} {% include "attendance/attendance/attendance_nav.html" %} {% endcomment %}
|
{% comment %} {% include "attendance/attendance/attendance_nav.html" %} {% endcomment %}
|
||||||
{% load i18n generic_template_filters %}
|
{% load i18n generic_template_filters %}
|
||||||
<div id="{{view_id}}">
|
<div id="{{view_id}}">
|
||||||
|
{% if show_filter_tags %} {% include "generic/filter_tags.html" %} {% endif %}
|
||||||
<div class="oh-tabs HTV">
|
<div class="oh-tabs HTV">
|
||||||
<script>
|
<script>
|
||||||
$("#reloadMessagesButton").click()
|
$("#reloadMessagesButton").click()
|
||||||
@@ -90,6 +91,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$("li.oh-tabs__tab").click(function (e) {
|
$("li.oh-tabs__tab").click(function (e) {
|
||||||
var target = `li[data-target="${$(this).attr("data-target")}"]`
|
var target = `li[data-target="${$(this).attr("data-target")}"]`
|
||||||
|
|||||||
Reference in New Issue
Block a user