diff options
-rw-r--r-- | settings/js/apps.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index eec5532d5ab..f50914157a6 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -341,6 +341,11 @@ $(document).ready(function(){ var appid = element.data('appid'); if (appid) { OC.Settings.Apps.enableApp(appid, false, element, groups); + var li = $('[data-id="'+appid+'"'); + var app = OC.get('appData_' + $(li).data('id')); + app.groups = groups; + li.data('groups', groups); + li.attr('data-groups', JSON.stringify(groups)); } }); |