@ -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);
@ -12,7 +12,7 @@
</div>
<div class="clear"></div>
<table id="clients" class="list">
<table id="clients" class="list{% if not page.object_list %} hidden{% endif %}">
<tr id='clients_header_row'>
<th style="width: 46%">Контрагент</th>
<th style="width: 18%">Контактное лицо</th>