developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Ticket #688: 688-jForms-always-include-jQuery.diff

File 688-jForms-always-include-jQuery.diff, 1.1 KB (added by Julien, 13 years ago)
  • lib/jelix/core/defaultconfig.ini.php

     
    255255
    256256[htmleditors]
    257257default.engine.name = wymeditor
    258 default.engine.file[] = jelix/jquery/jquery.js
    259258default.engine.file[] = jelix/wymeditor/jquery.wymeditor.js
    260259default.config = jelix/wymeditor/config/default.js
    261260default.skin.default  = jelix/wymeditor/skins/default/screen.css
  • lib/jelix/plugins/jforms/html/html.jformsbuilder.php

     
    6161        }
    6262        $www =$gJConfig->urlengine['jelixWWWPath'];
    6363        $bp =$gJConfig->urlengine['basePath'];
     64        $resp->addJSLink($www.'jquery/jquery.js');
    6465        $resp->addJSLink($www.'js/jforms.js');
    6566        $resp->addCSSLink($www.'design/jform.css');
    6667        foreach($t->_vars as $k=>$v){