nextcloud-printer/appinfo/app.php

13 lines
289 B
PHP

<?php
/**
* Load Javascript
*/
use OCP\Util;
$eventDispatcher = \OC::$server->getEventDispatcher();
$eventDispatcher->addListener('OCA\Files::loadAdditionalScripts', function(){
Util::addScript('printer', 'printer.tabview' );
Util::addScript('printer', 'printer.plugin' );
});