Bug 9618: (follow-up) include link to jQuery only if needed
The jQuery lib is useful only if js code is filled into the intranetuserjs pref. Signed-off-by: Campbell Reid-Tait <campbellreidtait@gmail.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> To test: - Use Quick spine label creator - Make sure you have Javascript in your intranetuserjs system preference - Validate Javascript effect on screen or check source code to make sure your code is visible there. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
cb59e37e56
commit
94868f61c4
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@
|
|||
}
|
||||
</style>
|
||||
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script>
|
||||
[% IF ( intranetuserjs ) %]
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
[% intranetuserjs %]
|
||||
|
@ -39,4 +39,4 @@
|
|||
</span>
|
||||
</body>
|
||||
[% END %]
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue