diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-08-05 15:13:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-08-05 15:13:15 +0200 |
commit | 892d82480430b3c8d8e47feaa4f903922deec27e (patch) | |
tree | 3a3aaa9d09941e49653b3c7487c63c71fa223aff /settings | |
parent | c83c90342e6dc7b01c2d1e973f89db4cf2c2dc61 (diff) | |
parent | 087e68b11a6667417445d285872b53b660e0080b (diff) | |
download | nextcloud-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.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'); }, |