]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add the systemtag js files
authorJoas Schilling <coding@schilljs.com>
Wed, 27 Jul 2016 13:17:38 +0000 (15:17 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 3 Aug 2016 12:40:03 +0000 (14:40 +0200)
apps/workflowengine/lib/AppInfo/Application.php

index 843395030472654d6d5832a0254fd47d6ffa4437..e5b884c0a2aef8f0b84aafe6c88cd1633b845bce 100644 (file)
@@ -40,9 +40,24 @@ class Application extends \OCP\AppFramework\App {
                $dispatcher->addListener(
                        'OCP\WorkflowEngine::loadAdditionalSettingScripts',
                        function() {
-                               Util::addStyle('workflowengine', 'admin');
-                               Util::addScript('workflowengine', 'admin');
-                               Util::addScript('workflowengine', 'usergroupmembershipplugin');
+                               style('workflowengine', [
+                                       'admin',
+                               ]);
+
+                               script('core', [
+                                       'oc-backbone-webdav',
+                                       'systemtags/systemtags',
+                                       'systemtags/systemtagmodel',
+                                       'systemtags/systemtagscollection',
+                               ]);
+
+                               script('workflowengine', [
+                                       'admin',
+
+                                       // Check plugins
+                                       'filesystemtagsplugin',
+                                       'usergroupmembershipplugin',
+                               ]);
                        },
                        -100
                );