update UI after set of tracked events/races and configuratoins may have changed

This commit is contained in:
Axel Uhl committed 2011-07-05 20:24:56 +02:00
1 parent 4b4026534a
commit 4446a60bec
1 file changed
+8 -2
@@ -284,7 +284,9 @@ public class EventManagementPanel extends FormPanel {
errorReporter.reportError("Exception trying to stop tracking event "+event.name+": "+caught.getMessage());
}
@Override
public void onSuccess(Void result) {}
public void onSuccess(Void result) {
fillEvents();
}
});
}
@@ -387,6 +389,8 @@ public class EventManagementPanel extends FormPanel {
@Override
public void onSuccess(Void result) {
// refresh list of previous configurations
fillConfigurations();
}
});
}
@@ -406,7 +410,9 @@ public class EventManagementPanel extends FormPanel {
errorReporter.reportError("Error trying to register race "+rr.name+" for tracking: "+caught.getMessage());
}
@Override
public void onSuccess(Void result) {}
public void onSuccess(Void result) {
fillEvents();
}
});
}
}