reloadGroups moved

This commit is contained in:
j 2011-05-25 21:50:04 +02:00
parent 88a976b12d
commit 6b345db14a

View file

@ -67,7 +67,7 @@ pandora.ui.group = function(id, query) {
operator: '=' operator: '='
}; };
}); });
reloadGroups(i); pandora.reloadGroups(i);
} }
}); });
new Ox.Select({ new Ox.Select({
@ -90,7 +90,7 @@ pandora.ui.group = function(id, query) {
if (app.ui.groups[i].query.conditions.length) { if (app.ui.groups[i].query.conditions.length) {
// if group with selection gets replaced, reload // if group with selection gets replaced, reload
app.ui.groups[i].query.conditions = []; app.ui.groups[i].query.conditions = [];
reloadGroups(i); pandora.reloadGroups(i);
} }
app.ui.groups[i] = getGroupObject(id_); app.ui.groups[i] = getGroupObject(id_);
app.user.ui.groups[i] = id_; app.user.ui.groups[i] = id_;