1 {% for json in queries_json %}manifold.insert_query({{ json|safe }});
3 $(document).ready(function () {
4 var query_publish_dom_tuples = new Array();
5 {% for d in query_publish_dom_tuples %}try {query_publish_dom_tuples.push({'query_uuid':"{{ d.query_uuid }}"{%if d.domid %},'domid':"{{ d.domid }}"{% endif %}}) }
6 catch(err){messages.debug ("Could not expose query {{ d.query_uuid }}")}
8 manifold.asynchroneous_exec(query_publish_dom_tuples);