We generate the select url ourselves, so it's safe
This prevented urls with an & in it to be correctly generated.
Patch by: Sverre Rabbelier
--- a/app/soc/templates/soc/templatetags/_as_table_row.html Fri Feb 13 21:52:10 2009 +0000
+++ b/app/soc/templates/soc/templatetags/_as_table_row.html Fri Feb 13 21:52:38 2009 +0000
@@ -33,7 +33,7 @@
<td>
{% if select_url %}
<script type="text/javascript">
- $.getJSON("{{ select_url }}",
+ $.getJSON("{{ select_url|safe }}",
function(data){
$("#{{ field_id }}").autocomplete(data.data, {
matchContains: true,