| author | cavaliet |
| Mon, 07 Jul 2014 17:23:23 +0200 | |
| changeset 131 | b39513a56cd0 |
| parent 74 | 901463f9b11c |
| permissions | -rwxr-xr-x |
|
74
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
1 |
{# |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
2 |
This file is part of the WikiTagBundle package. |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
3 |
|
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
4 |
(c) IRI <http://www.iri.centrepompidou.fr/> |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
5 |
|
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
6 |
For the full copyright and license information, please view the LICENSE |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
7 |
file that was distributed with this source code. |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
33
diff
changeset
|
8 |
#} |
|
33
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
9 |
{# partial display to add the needed Javascript for context search #} |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
10 |
{# We suppose the all the JS (jquery and stuffs and wikiTag.js) have already been loaded. See javascript.html.twig #} |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
11 |
<script type="text/javascript"> |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
12 |
var reactive_selectors = [{{ reactive_selectors|raw }}]; |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
13 |
$(document).ready(function(){ |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
14 |
wikitag_init_search_context_events(); |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
15 |
}); |
|
6c87166b819c
First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
cavaliet
parents:
diff
changeset
|
16 |
</script> |