correct url in template new_rest_api
authorcavaliet
Wed, 24 Oct 2012 11:19:42 +0200
branchnew_rest_api
changeset 874 e46ec198c6db
parent 873 b211a1168b73
child 875 509a27622632
correct url in template
src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/embed_player.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/embed_player.html	Mon Oct 22 18:30:38 2012 +0200
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/embed_player.html	Wed Oct 24 11:19:42 2012 +0200
@@ -89,7 +89,7 @@
             hide_timeout: 5000
         },{% if annotation_block %}{
             type: "CreateAnnotation",
-            api_endpoint_template: "{{WEB_URL}}{% url annotation_api_empty %}{% templatetag openvariable %}id{% templatetag closevariable %}.json",
+            api_endpoint_template: "{{WEB_URL}}{% url api_dispatch_list resource_name='annotations' api_name='1.0' %}",
             api_method: "PUT",
             after_send_timeout: 8000,
             show_mic_record: {% if show_mic_record %}true{% else %}false{% endif %},