]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixes undefined appitem - fixes #12396
authorMorris Jobke <hey@morrisjobke.de>
Mon, 24 Nov 2014 16:07:38 +0000 (17:07 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 25 Nov 2014 08:06:49 +0000 (09:06 +0100)
settings/js/apps.js

index 3f4c149c8a11fc8f22862d361c74cc53cb99dcf7..04fe99636cb666d428e1d166e38e43bb47654ebf 100644 (file)
@@ -235,7 +235,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
                                element.val(t('settings','Uninstall'));
                        } else {
                                OC.Settings.Apps.removeNavigation(appid);
-                               appitem.removeClass('active');
+                               $('#app-navigation ul li').filterAttr('data-id', appid).remove();
                        }
                },'json');
        },