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