summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 9e2ae8d7104..952c1b86ea9 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -27,7 +27,8 @@ t.cache={};
OC={
webroot:oc_webroot,
- coreApps:['files','admin','log','search','settings','core'],
+ currentUser:oc_current_user,
+ coreApps:['files','admin','log','search','settings','core','3rdparty'],
/**
* get an absolute url to a file in an appen
* @param app the id of the app the file belongs to
@@ -264,6 +265,12 @@ $(document).ready(function(){
$('#remember_login+label').fadeIn();
}
});
+
+ if($('body').attr("id")=="body-user") { $('#settings li').hide(); }
+ $('#expand').click(function() {
+ $('#settings li').slideToggle();
+ });
+
});