conditionally load YUI libraries, only if not already loaded.
conditionally load the YUI libraries, only if not already loaded.
minor feature request --
we use YUI to build drop-down menus on our site, and when we turned on the vault plugin, they stopped working.
after examining the issue, it looked like YUI was being loaded twice on the page.
commenting out $this->add_script($yui); in core/view/global/vw.php fixed the issue, and both the menus and vault worked fine.
Any chance you can detect whether or not YUI is loaded, and if so, prevent vault from loading it again in the footer? I hate to have to hack up the php...
thanks!