JS libraries in the BE
There are some new functions that load JS libraries: $this->doc->getPageRenderer()->loadPrototype(); Loads prototype if it wasn’t loaded already $this->doc->getPageRenderer()->loadScriptaculous(); Loads Scriptaculous, if it wasn’t loaded already $this->doc->getPageRenderer()->loadScriptaculous('effects,dragdrop'); Loads Scriptaculous with modules $this->doc->getPageRenderer()->loadExtJS(); Loads ExtJS. This function also accepts two …
