Opraven refresh gridů na záložkách "Má střediska", "Mé komise" a "Vše"
po smazání nebo editaci záznamu.
This commit is contained in:
@@ -191,6 +191,7 @@ public class ListViewModel<T extends DataModel> {
|
||||
ListViewModel.this, "dataList");
|
||||
BindUtils.postNotifyChange(null, null,
|
||||
ListViewModel.this, "dataBean");
|
||||
BindUtils.postGlobalCommand(null, null, "reloadRelated", null);
|
||||
} catch (DataIntegrityViolationException e) {
|
||||
Messagebox.show(StringUtils.localize("DbCannotDelete"), StringUtils.localize("Error"), Messagebox.OK, Messagebox.ERROR);
|
||||
} catch (AccessDeniedException e) {
|
||||
@@ -237,9 +238,8 @@ public class ListViewModel<T extends DataModel> {
|
||||
dataList.set(selIndex, editBean);
|
||||
}
|
||||
|
||||
if (newRec) {
|
||||
BindUtils.postGlobalCommand(null, null, "reloadRelated", null);
|
||||
}
|
||||
BindUtils.postGlobalCommand(null, null, "reloadRelated", null);
|
||||
|
||||
}
|
||||
|
||||
@GlobalCommand
|
||||
|
||||
Reference in New Issue
Block a user