Skip to content
Snippets Groups Projects
Commit a6b85d70 authored by llaffont's avatar llaffont
Browse files

JQuery n'est plus chargé 2 fois dans la page notice si les morceaux gam sont affichés

parent 282c3490
Branches
Tags
No related merge requests found
......@@ -30,7 +30,6 @@ class ZendAfi_View_Helper_AudioJsPlayer extends Zend_View_Helper_HtmlElement {
$options = ['swfLocation' => URL_ADMIN_JS.'audiojs/audiojs/audiojs.swf',
'imageLocation' => URL_ADMIN_JS.'audiojs/audiojs/player-graphics.gif'];
Class_ScriptLoader::getInstance()
->loadJQuery()
->addStyleSheet(URL_ADMIN_JS.'audiojs/audiojs/style-light.css')
->addAdminScript('audiojs/audiojs/audio.min.js')
->addInlineScript(sprintf('audiojs.events.ready(function() {audiojs.createAll(%s);})',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment