popup_response.html 550 B

1234567891011121314151617
  1. <!DOCTYPE html>
  2. <html>
  3. <head><title></title></head>
  4. <body>
  5. <script type="text/javascript">
  6. {% if action == 'change' %}
  7. opener.dismissChangeRelatedObjectPopup(window, "{{ value }}", "{{ obj }}", "{{ new_value }}");
  8. {% elif action == 'delete' %}
  9. opener.dismissDeleteRelatedObjectPopup(window, "{{ value }}");
  10. {% else %}
  11. opener.dismissAddRelatedObjectPopup(window, "{{ value }}", "{{ obj }}");
  12. {% endif %}
  13. opener.jet.jQuery('select').trigger('select:init');
  14. </script>
  15. </body>
  16. </html>