mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 03:30:48 +03:00
Доработка подключения js
This commit is contained in:
parent
c42b43a332
commit
0dacaf33cf
|
@ -4,19 +4,7 @@
|
|||
name = "property[{$property->getId()}]"
|
||||
value = $value->getValueVarchar()
|
||||
id = "property-value-tags-{$property->getId()}"
|
||||
inputAttributes=[ "data-property-id" => $property->getId() ]
|
||||
inputClasses="autocomplete-property-tags-sep"
|
||||
note = $property->getDescription()
|
||||
label = $property->getTitle()}
|
||||
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
$( "#property-value-tags-{$property->getId()}" ).lsAutocomplete({
|
||||
multiple: true,
|
||||
urls: {
|
||||
load: aRouter['ajax']+'property/tags/autocompleter/'
|
||||
},
|
||||
params: {
|
||||
property_id: '{$value->getPropertyId()}'
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
label = $property->getTitle()}
|
|
@ -194,11 +194,4 @@
|
|||
{component 'toolbar' classes='js-toolbar-default' items={show_blocks group='toolbar'}}
|
||||
|
||||
{hook run='layout_body_end'}
|
||||
{/block}
|
||||
|
||||
{block 'layout_body_end' append}
|
||||
<script>
|
||||
ls.lang.load({json var = $aLangJs});
|
||||
ls.registry.set({json var = $aVarsJs});
|
||||
</script>
|
||||
{/block}
|
|
@ -232,10 +232,3 @@
|
|||
|
||||
{hook run='layout_body_end'}
|
||||
{/block}
|
||||
|
||||
{block 'layout_body_end' append}
|
||||
<script>
|
||||
ls.lang.load({json var = $aLangJs});
|
||||
ls.registry.set({json var = $aVarsJs});
|
||||
</script>
|
||||
{/block}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8ea0255ef97f142df7752b1feac21bf67528c3cb
|
||||
Subproject commit 48dbb5b8f7874d347dddf9d1d481c7142c5aca79
|
Loading…
Reference in a new issue