This commit is contained in:
Frederic Debuire
2008-01-24 23:48:55 +00:00
parent 9fb3d631b5
commit 5f95af28b9
3 changed files with 243 additions and 182 deletions

View File

@@ -58,7 +58,8 @@ function deleteClicked(eleid) {
var person = peopleCache[eleid.substring(6)];
if (confirm("Are you sure you want to delete " + person.label + "?")) {
dwr.engine.beginBatch();
AddCriteriaJS.deleteCriterion({ id:id });
AddCriteriaJS.deleteCriterion(person);
// FIXME here
fillTable();
dwr.engine.endBatch();
}