Skip to content
Snippets Groups Projects
Commit 5cdf76dd authored by Laurent's avatar Laurent
Browse files

dev #65510 book widget compatibility

parent f5c462dc
Branches
Tags
2 merge requests!2366Dev#65510 maj jquery,!2358Dev#65510 maj jquery
Pipeline #2607 failed with stage
in 19 minutes and 23 seconds
......@@ -127,12 +127,14 @@ class Class_ScriptLoader {
*/
public function loadBooklet($album_id, $selector) {
return $this
->loadJQuery()
->loadJQueryUI()
->addAmberPackage('AFI')
->addAmberReady(sprintf("smalltalk.BibNumAlbum._load_in_scriptsRoot_('%s.json', '%s', '%s')",
BASE_URL.'/bib-numerique/album/id/'.$album_id,
$selector,
AMBERURL."afi/souvigny/"))
->loadAmber();
->loadAmber();
}
......
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