У меня есть шаблон в SQL, который заполняется, когда задача завершена. половина полей заполняется, а в остальных появляется ошибка: view._hlp is not a function
. Я искал в Интернете, но не смог найти решение.
это мой шаблон, сохраненный в SQL
<script id="selectiontmpl" type="text/x-jsrender">
<div class="Selection" dataid="{{attr:SelectionID}}" type="{{attr:Type}}" >
<div class="Header" title="{{>Skipps}}"> {{if Sport=="M" }}{{>Type}} {{>~shortenString(Skipps, 25)}}{{/if}}</div> // this is where the error comes in
<div class="event">{{>Name}} {{if Sport=="M" }}- Place {{>Place}}{{/if}}
//this works fine
</div>
</div>
</div>
</script>
выходных данных указанного выше результата:
<div class="Selection" dataid="571727022072_5668" type="LL">
<div class="Header" title="1"> Error: view._hlp(...) is not a function. </div>
<div class="event">Super Star - Place 1
<div class=""></div>
</div>
</div>
</div>