summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2012-08-10 13:00:51 +0200
committerJakob Sack <mail@jakobsack.de>2012-08-10 13:00:51 +0200
commit81b997b56ef130111b527e5b40f5d3348f30aecc (patch)
tree645feaefbe5ef6d00d725259f284e329f3121feb /lib/base.php
parent82b10954e714135aac332c4e349124731841aa90 (diff)
parent9ad31e5f81ad5ec899101a67451843dd8f080340 (diff)
downloadnextcloud-server-81b997b56ef130111b527e5b40f5d3348f30aecc.tar.gz
nextcloud-server-81b997b56ef130111b527e5b40f5d3348f30aecc.zip
Merge branch 'backgroundjobs'
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index c4127c73f26..dae62a029c8 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -241,11 +241,17 @@ class OC{
OC_Util::addScript( "jquery.infieldlabel.min" );
OC_Util::addScript( "jquery-tipsy" );
OC_Util::addScript( "oc-dialogs" );
+ OC_Util::addScript( "backgroundjobs" );
OC_Util::addScript( "js" );
OC_Util::addScript( "eventsource" );
OC_Util::addScript( "config" );
//OC_Util::addScript( "multiselect" );
OC_Util::addScript('search','result');
+
+ if( OC_Appconfig::getValue( 'core', 'backgroundjobs_mode', 'ajax' ) == 'ajax' ){
+ OC_Util::addScript( 'backgroundjobs' );
+ }
+
OC_Util::addStyle( "styles" );
OC_Util::addStyle( "multiselect" );
OC_Util::addStyle( "jquery-ui-1.8.16.custom" );