Resources/views/WikiTag/javascriptForContextSearch.html.twig
author cavaliet
Mon, 07 Jul 2014 17:23:23 +0200
changeset 131 b39513a56cd0
parent 74 901463f9b11c
permissions -rwxr-xr-x
adapt code for php's great memory management

{#
  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>