summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-04 16:35:52 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-04 17:42:02 +0200
commit087e68b11a6667417445d285872b53b660e0080b (patch)
tree2958f5ad4010389f12977b2e8eb8b3f73af6ef9b /settings
parent65903a012a05d012b463d944594afa0104386426 (diff)
downloadnextcloud-server-087e68b11a6667417445d285872b53b660e0080b.tar.gz
nextcloud-server-087e68b11a6667417445d285872b53b660e0080b.zip
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');
},