summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/static/js/ogcp.js4
-rw-r--r--ogcp/templates/base.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js
index 8f27bb7..b23c6e0 100644
--- a/ogcp/static/js/ogcp.js
+++ b/ogcp/static/js/ogcp.js
@@ -32,7 +32,9 @@ function showSelectedClient(client_checkbox) {
$(container).append('<div class="badge badge-pill og-pill badge-light" ' +
'id="'+ pill_id + '">' + client_name +
'<br>' + client_checkbox.value + '</div>');
- show_client_mac(pill_id);
+ if (client_name !== 'scope-room' && client_name !== 'scope-center' && client_name !== 'folder') {
+ show_client_mac(pill_id);
+ }
}
return;
}
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index eb366ff..f43f4bd 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -111,7 +111,7 @@
<!-- ChartJS -->
<script src="{{ url_for('static', filename='AdminLTE/plugins/chart.js/Chart.min.js') }}"></script>
- <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=5"></script>
+ <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=6"></script>
<script>
// error messages