From 5e5aa2eeebc6df41664ecb59f571a9f634ba8e66 Mon Sep 17 00:00:00 2001 From: "Felix A. Epp" Date: Mon, 23 Jan 2017 16:29:16 +0100 Subject: [PATCH] Fix uninstall in tabular view Signed-off-by: Felix A. Epp --- settings/js/apps.js | 4 ++-- settings/templates/apps.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/settings/js/apps.js b/settings/js/apps.js index bde069e1b27..80ac732730f 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -455,8 +455,8 @@ OC.Settings.Apps = OC.Settings.Apps || { element.val(t('settings','Uninstall')); } else { OC.Settings.Apps.rebuildNavigation(); - element.parent().fadeOut(function() { - element.remove(); + element.parents('#apps-list > .section').fadeOut(function() { + this.remove(); }); } },'json'); diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 652dc38557d..e3e9ad97d6f 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -60,15 +60,15 @@ script(

t('This app has an update available.')); ?>

+ + {{#if canUnInstall}} + + {{/if}} {{#if active}} "/> {{else}} "/> {{/if}} - - {{#if canUnInstall}} - - {{/if}}