Resources/views/WikiTag/javascriptForContextSearch.html.twig
author ymh <ymh.work@gmail.com>
Wed, 21 Mar 2012 00:45:05 +0100
changeset 89 738cc74f9f7f
parent 74 901463f9b11c
permissions -rwxr-xr-x
improve documentation

{#
  This file is part of the WikiTagBundle package.
 
  (c) IRI <http://www.iri.centrepompidou.fr/>
 
  For the full copyright and license information, please view the LICENSE
  file that was distributed with this source code.
#}
{# 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>