Detail view UI fix

Fix case where detail view data does not update, after async action
This commit is contained in:
Brian Federle 2012-04-03 14:42:34 -07:00
parent db610a7e7a
commit 6263ae9944
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@
$loading.remove();
if (!noRefresh) {
updateTabContent(args.data);
updateTabContent(args.data? args.data : args2.data);
}
}
@ -175,7 +175,7 @@
$detailView: $detailView
}));
replaceListViewItem($detailView, args.data);
replaceListViewItem($detailView, args.data ? args.data : args2.data);
},
{},