diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-04 16:35:52 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-04 17:42:02 +0200 |
commit | 087e68b11a6667417445d285872b53b660e0080b (patch) | |
tree | 2958f5ad4010389f12977b2e8eb8b3f73af6ef9b /settings | |
parent | 65903a012a05d012b463d944594afa0104386426 (diff) | |
download | nextcloud-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.js | 3 |
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'); }, |