mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 12:06:06 +00:00
Add code to generate options in 'table-editable.js' to match RECORDS_ALLOW_EDIT in the config.py file.
This commit is contained in:
@ -185,7 +185,8 @@
|
||||
<script src="{{ url_for('static', filename='admin/pages/scripts/table-editable.js') }}"></script>
|
||||
<!-- END TABLE PLUGINS -->
|
||||
<script>
|
||||
jQuery(document).ready(function() {
|
||||
jQuery(document).ready(function() {
|
||||
window.records_allow_edit = {{ editable_records|tojson }};
|
||||
Metronic.init(); // init metronic core componets
|
||||
Layout.init(); // init layout
|
||||
TableEditable.init();
|
||||
|
Reference in New Issue
Block a user