summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-05 15:13:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-05 15:13:15 +0200
commit892d82480430b3c8d8e47feaa4f903922deec27e (patch)
tree3a3aaa9d09941e49653b3c7487c63c71fa223aff /settings
parentc83c90342e6dc7b01c2d1e973f89db4cf2c2dc61 (diff)
parent087e68b11a6667417445d285872b53b660e0080b (diff)
downloadnextcloud-server-892d82480430b3c8d8e47feaa4f903922deec27e.tar.gz
nextcloud-server-892d82480430b3c8d8e47feaa4f903922deec27e.zip
Merge pull request #10154 from owncloud/uninstall-undefined-appitem
Fix undefined variable when uninstalling an app
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 9061b43c7be..1077a2e7d30 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -237,7 +237,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
element.val(t('settings','Uninstall'));
} else {
OC.Settings.Apps.removeNavigation(appid);
- appitem.removeClass('active');
+ var appItem = $('#app-navigation li').filterAttr('data-id', appid);
+ appItem.removeClass('active');
}
},'json');
},