diff options
author | Jakob Sack <mail@jakobsack.de> | 2012-08-09 01:02:05 +0200 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2012-08-09 01:02:05 +0200 |
commit | 13a0818fec4ac758fb050764fb33d90c74200cfe (patch) | |
tree | cf66f2a014063bdec85e3177a0b8f068898f9e0d /lib | |
parent | 7fa896971ffaac5daa5efd7408f58c67ec56f493 (diff) | |
download | nextcloud-server-13a0818fec4ac758fb050764fb33d90c74200cfe.tar.gz nextcloud-server-13a0818fec4ac758fb050764fb33d90c74200cfe.zip |
Be more precise regarding backgroundjobs mode
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index c3887dec2f8..090d05cdbae 100644 --- a/lib/base.php +++ b/lib/base.php @@ -227,11 +227,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', 'backgroundjob_mode', 'ajax' ) == 'ajax' ){ + OC_Util::addScript( 'backgroundjobs' ); + } + OC_Util::addStyle( "styles" ); OC_Util::addStyle( "multiselect" ); OC_Util::addStyle( "jquery-ui-1.8.16.custom" ); |