js правки

This commit is contained in:
Repellent 2016-09-24 12:59:07 +03:00
parent 36464d6cc5
commit c1f9359325

View File

@ -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_'+jsfid).val('[mod_contactsnew:'+alias+']');
$('#form_tag_'+$fid).val('[mod_contactsnew:'+alias+']');
}
});
}
else {
alias = $fid ? $fid : '';
$('#form_tag_'+jsfid).val('[mod_contactsnew:'+alias+']');
$('#form_tag_'+$fid).val('[mod_contactsnew:'+alias+']');
}
})
// кнопки добавления