Fix group select autocomplete

This commit is contained in:
Robin Appelman 2015-01-06 15:40:40 +01:00
parent 622c4cf779
commit b2124d8d4f
1 changed files with 12 additions and 16 deletions

View File

@ -45,7 +45,6 @@ OC.Settings = _.extend(OC.Settings, {
data: queryData,
dataType: 'json',
success: function(data) {
if (data.status === "success") {
var results = [];
// add groups
@ -61,9 +60,6 @@ OC.Settings = _.extend(OC.Settings, {
self._cachedGroups = results;
}
query.callback({results: results});
} else {
//FIXME add error handling
}
}
});
}, 100, true),