Update click handler
<button id="fb-delete" data-fb-action="delete"
class="disabled fb-space-right"
title="Delete" data-toggle="modal"
- data-target="#confirm-delete-dialog" onclick='javascript:warnExternalContent("{{ cm.short_id }}")'>
+ data-target="#confirm-delete-dialog" onclick="warnExternalContent('{{ cm.short_id }}')">
<span class="glyphicon glyphicon-trash btn-remove"></span>
</button>
{% endif %}
