13 lines
289 B
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' );
|
|
});
|