Ignore:
Timestamp:
Feb 23, 2015, 12:32:54 AM (10 years ago)
Author:
chronos
Message:
  • Modified: Do not link to external jquery script which can change in future and break function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/Form.php

    r816 r818  
    205205          //todo javascript
    206206
    207           $Output .= '<script src="http://code.jquery.com/jquery-latest.js"></script>'.
    208                '<script>';
     207          $Output .= '<script src="'.$System->Link('/style/jquery.js').'"></script>'.
     208             '<script>';
    209209          $Output .=    '$(document).ready(function() {';
    210210          foreach($TranslationTree[$GroupId]['Items'] as $Index => $TextItem)
     
    212212
    213213          $Output .= '});'.
    214                '</script>';
     214            '</script>';
    215215
    216216          foreach($TranslationTree[$GroupId]['Items'] as $Index => $TextItem)
Note: See TracChangeset for help on using the changeset viewer.