multitenant
František Přibyl 11 years ago
commit 7b6976f823

@ -216,7 +216,7 @@ public class ListViewModel<T extends DataModel> {
if (editBean != null && !editBean.isValid()) {
return;
}
if (editBean.getCreated() == null) {
if (editBean != null && editBean.getCreated() == null) {
return;
}
if (!filter && newRec) {
@ -228,7 +228,7 @@ public class ListViewModel<T extends DataModel> {
fullList.add(editBean);
}
dataBean = editBean;
if (!newRec) {
if (!newRec && editBean != null) {
dataList.set(selIndex, editBean);
}
}

Loading…
Cancel
Save