Parcourir la source

15789 make sure job completed before including config_form

Arthur il y a 1 an
Parent
commit
781d932b2a
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      netbox/templates/extras/script_result.html

+ 2 - 0
netbox/templates/extras/script_result.html

@@ -101,5 +101,7 @@
 {% endblock content %}
 {% endblock content %}
 
 
 {% block modals %}
 {% block modals %}
+  {% if job.completed %}
   {% table_config_form table table_name="ObjectTable" %}
   {% table_config_form table table_name="ObjectTable" %}
+  {% endif %}
 {% endblock modals %}
 {% endblock modals %}