Changeset 11052


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

Move js code into separate files.

Location:
main/waeup.kofa/branches/uli-diazo-themed/layout
Files:
2 added
1 edited

Legend:

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

    r11046 r11052  
    526526    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    527527    <script src="static/bootstrap/js/bootstrap.min.js"></script>
    528 
    529     <script type="text/javascript" class="kofa-script kofa-script-tooltip">
    530       $(function () {
    531         $("[data-toggle=tooltip]").tooltip();
    532       });
    533     </script>
    534 
    535     <script type="text/javascript">
    536       $("button.rowadd").click(function (evt) {
    537          /* Do not submit the form really */
    538          evt.preventDefault();
    539          /* Add first .form-field after last .form-field... */
    540          $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn());
    541       });
    542     </script>
    543 
     528    <script src="static/js/kofa-tooltip.js"></script>
     529    <script src="static/js/kofa-button-rowadd.js"></script>
     530    <script src="static/js/kofa-toggleall.js"></script>
    544531    <script class="kofa-script-datatable"
    545532        src="static/js/jquery.dataTables.min.js">
     
    554541        src="static/js/kofa-datepicker.js">
    555542    </script>
    556     <script class="kofa-script-toggleall"
    557         src="static/js/kofa-toggleall.js">
    558     </script>
    559543
    560544  </body>
Note: See TracChangeset for help on using the changeset viewer.