app/soc/templates/soc/templatetags/_as_table_row.html
changeset 1302 54e736a805b5
parent 1270 a48a592919b0
child 1369 0be1f471413c
equal deleted inserted replaced
1301:58f18ea60093 1302:54e736a805b5
    31   </td>
    31   </td>
    32   {% endblock %}
    32   {% endblock %}
    33   <td>
    33   <td>
    34   {% if select_url %}
    34   {% if select_url %}
    35     <script type="text/javascript">
    35     <script type="text/javascript">
    36       $.getJSON("{{ select_url }}",
    36       $.getJSON("{{ select_url|safe }}",
    37         function(data){
    37         function(data){
    38           $("#{{ field_id }}").autocomplete(data.data, {
    38           $("#{{ field_id }}").autocomplete(data.data, {
    39             matchContains: true,
    39             matchContains: true,
    40             formatItem: function(item) {
    40             formatItem: function(item) {
    41               return item.link_id+" ("+item.name+")";
    41               return item.link_id+" ("+item.name+")";