Skip to content
Snippets Groups Projects
Commit 087e68b1 authored by Robin Appelman's avatar Robin Appelman
Browse files

Fix undefined variable when uninstalling an app

parent 65903a01
Branches
No related tags found
No related merge requests found
...@@ -237,7 +237,8 @@ OC.Settings.Apps = OC.Settings.Apps || { ...@@ -237,7 +237,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
element.val(t('settings','Uninstall')); element.val(t('settings','Uninstall'));
} else { } else {
OC.Settings.Apps.removeNavigation(appid); OC.Settings.Apps.removeNavigation(appid);
appitem.removeClass('active'); var appItem = $('#app-navigation li').filterAttr('data-id', appid);
appItem.removeClass('active');
} }
},'json'); },'json');
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment