summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-11 16:35:55 +0200
committerkondou <kondou@ts.unde.re>2013-09-11 16:35:55 +0200
commit2ae3ab98d847cbf795ee038b468376d53b069e0a (patch)
tree16d5e8a7b7db91c8f01cf5f48b6f27bfd014f905 /settings/js
parentf6faec0e0bfddb14cc17f4a7f60900438215dd35 (diff)
parent62eeac33900bdb13b823049d8cc63f44e0bca24f (diff)
downloadnextcloud-server-2ae3ab98d847cbf795ee038b468376d53b069e0a.tar.gz
nextcloud-server-2ae3ab98d847cbf795ee038b468376d53b069e0a.zip
Merge branch 'master' into split_personal-user_passwordchange
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js8
-rw-r--r--settings/js/personal.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 1ae45932172..54810776d2b 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -169,7 +169,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
var navEntries=response.nav_entries;
for(var i=0; i< navEntries.length; i++){
var entry = navEntries[i];
- var container = $('#apps');
+ var container = $('#apps .wrapper');
if(container.children('li[data-id="'+entry.id+'"]').length === 0){
var li=$('<li></li>');
@@ -181,10 +181,10 @@ OC.Settings.Apps = OC.Settings.Apps || {
a.prepend(filename);
a.prepend(img);
li.append(a);
- // prepend the new app before the 'More apps' function
- $('#apps-management').before(li);
+ // append the new app as last item in the list (.push is from sticky footer)
+ $('#apps .wrapper .push').before(li);
// scroll the app navigation down so the newly added app is seen
- $('#navigation').animate({ scrollTop: $('#apps').height() }, 'slow');
+ $('#navigation').animate({ scrollTop: $('#navigation').height() }, 'slow');
// draw attention to the newly added app entry by flashing it twice
container.children('li[data-id="'+entry.id+'"]').animate({opacity:.3}).animate({opacity:1}).animate({opacity:.3}).animate({opacity:1});
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 8cf4754f793..e4284c2e8c6 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -97,7 +97,7 @@ $(document).ready(function(){
$("#languageinput").chosen();
// Show only the not selectable optgroup
// Choosen only shows optgroup-labels if there are options in the optgroup
- $(".languagedivider").remove();
+ $(".languagedivider").hide();
$("#languageinput").change( function(){
// Serialize the data