This commit is contained in:
@@ -767,8 +767,8 @@ function loadFormSettings(vm) {
|
||||
if (vm.listViewId == -1) {
|
||||
//-1 is code for unsaved list view
|
||||
//check if there is a local copy of a listview vm was edited but not saved
|
||||
if (formSettings.saved.dataTable.editedListView != undefined) {
|
||||
vm.listView = formSettings.saved.dataTable.editedListView;
|
||||
if (formSettings.saved.dataTable.unsavedListView != undefined) {
|
||||
vm.listView = formSettings.saved.dataTable.unsavedListView;
|
||||
} else {
|
||||
//listviewid is for unsaved but we have no unsaved so fix that up
|
||||
vm.listView = undefined;
|
||||
|
||||
Reference in New Issue
Block a user