mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
14 lines
525 B
Smarty
14 lines
525 B
Smarty
{$oValue = $oProperty->getValue()}
|
|
|
|
{include file="components/field/field.text.tpl"
|
|
sName = "property[{$oProperty->getId()}]"
|
|
sValue = $oValue->getValueVarchar()
|
|
sId = "property-value-tags-{$oProperty->getId()}"
|
|
sNote = $oProperty->getDescription()
|
|
sLabel = $oProperty->getTitle()}
|
|
|
|
<script>
|
|
jQuery(function($){
|
|
ls.autocomplete.add($("#property-value-tags-{$oProperty->getId()}"), aRouter['ajax']+'property/tags/autocompleter/', true, { property_id: '{$oValue->getPropertyId()}' });
|
|
});
|
|
</script> |