diff --git a/project/static/js/dialogs.js b/project/static/js/dialogs.js index 6e30507..ba44b05 100644 --- a/project/static/js/dialogs.js +++ b/project/static/js/dialogs.js @@ -46,6 +46,7 @@ $(document).ready(function() { if (data.action == 'client-add'){ $(data.row_html).insertAfter('#clients_header_row'); window.clients_edit_del_update(); + $('table#clients').show(); } if (data.action == 'client-edit'){ $("tr#client_" + data.id).replaceWith(data.row_html); diff --git a/project/templates/customer/clients/list.html b/project/templates/customer/clients/list.html index 730b259..a9d642a 100644 --- a/project/templates/customer/clients/list.html +++ b/project/templates/customer/clients/list.html @@ -12,7 +12,7 @@
-