Fix syntax error

This commit is contained in:
Bart Visscher 2014-05-08 18:07:06 +02:00 committed by Thomas Müller
parent 0f82b8efb3
commit 49f1e4a811
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ $(document).ready(function(){
var appid = element.data('appid'); var appid = element.data('appid');
if (appid) { if (appid) {
OC.Settings.Apps.enableApp(appid, false, element, groups); OC.Settings.Apps.enableApp(appid, false, element, groups);
var li = $('[data-id="'+appid+'"'); var li = $('[data-id="'+appid+'"]');
var app = OC.get('appData_' + $(li).data('id')); var app = OC.get('appData_' + $(li).data('id'));
app.groups = groups; app.groups = groups;
li.data('groups', groups); li.data('groups', groups);