mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
WebAssetManager from DI
This commit is contained in:
parent
0aa1b5a961
commit
4b9ebe81e4
@ -7,6 +7,7 @@
|
||||
* @license MIT; see LICENSE.txt
|
||||
**/
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
@ -18,8 +19,8 @@ defined('_JEXEC') or die;
|
||||
* @var \Webmasterskaya\Component\OauthServer\Administrator\View\Client\HtmlView $this
|
||||
*/
|
||||
|
||||
$wa = $this->document->getWebAssetManager();
|
||||
$wa->useScript('keepalive')
|
||||
Factory::getApplication()->getDocument()->getWebAssetManager()
|
||||
->useScript('keepalive')
|
||||
->useScript('form.validate');
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user