Resources/views/WikiTag/javascriptForContextSearch.html.twig
changeset 33 6c87166b819c
child 74 901463f9b11c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/views/WikiTag/javascriptForContextSearch.html.twig	Tue Nov 15 12:27:02 2011 +0100
@@ -0,0 +1,8 @@
+{# partial display to add the needed Javascript for context search #}
+{# We suppose the all the JS (jquery and stuffs and wikiTag.js) have already been loaded. See javascript.html.twig #}
+<script type="text/javascript">
+    var reactive_selectors = [{{ reactive_selectors|raw }}];
+    $(document).ready(function(){
+        wikitag_init_search_context_events();
+    });
+</script>
\ No newline at end of file