Ignore:
Timestamp:
4 Feb 2014, 09:48:21 (11 years ago)
Author:
Henrik Bettermann
Message:

That's the way I suggest to dynamically load js files depending on the content.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/layout/theme.html

    r11033 r11041  
    542542    </script>
    543543
    544     <script src="static/js/jquery.dataTables.min.js"></script>
    545     <script src="static/js/kofa-datatables.js"></script>
    546     <script src="static/js/jquery-ui.min.js"></script>
    547     <script src="static/js/kofa-datepicker.js"></script>
    548     <script src="static/js/kofa-toggleall.js"></script>
     544    <script class="kofa-script-datatable"
     545        src="static/js/jquery.dataTables.min.js">
     546    </script>
     547    <script class="kofa-script-datatable"
     548        src="static/js/kofa-datatables.js">
     549    </script>
     550    <script class="kofa-script-datepicker"
     551        src="static/js/jquery-ui.min.js">
     552    </script>
     553    <script class="kofa-script-datepicker"
     554        src="static/js/kofa-datepicker.js">
     555    </script>
     556    <script class="kofa-script-toggleall"
     557        src="static/js/kofa-toggleall.js">
     558    </script>
    549559
    550560  </body>
Note: See TracChangeset for help on using the changeset viewer.