|
|
|
@ -577,7 +577,7 @@ $smarty['_refresh'] = '{#refresh#}';
|
|
|
|
|
</div> |
|
|
|
|
{/if} |
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
<script type="text/javascript">var jsfid={$fid};</script> |
|
|
|
|
{literal} |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
// на старте документа |
|
|
|
@ -663,13 +663,13 @@ $(document)
|
|
|
|
|
$.jGrowl(input.attr('data-error-exists'), {theme: 'error'}); |
|
|
|
|
alias = $fid ? $fid : ''; |
|
|
|
|
} |
|
|
|
|
$('#form_tag').val('[mod_contactsnew:'+alias+']'); |
|
|
|
|
$('#form_tag_'+jsfid).val('[mod_contactsnew:'+alias+']'); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
alias = $fid ? $fid : ''; |
|
|
|
|
$('#form_tag').val('[mod_contactsnew:'+alias+']'); |
|
|
|
|
$('#form_tag_'+jsfid).val('[mod_contactsnew:'+alias+']'); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
// кнопки добавления |
|
|
|
|