Fix the master-detail template app

This commit is contained in:
Erjan Gavalji
2015-03-24 14:12:00 +02:00
parent aede9d3b1b
commit ab491d038d
2 changed files with 4 additions and 4 deletions

View File

@@ -16,8 +16,8 @@ export function pageLoaded(args: observable.EventData) {
export function listViewItemTap(args: listView.ItemEventData) {
// Navigate to the details page with context set to the current data item
if (!twoPaneLayout) {
frames.topmost().navigate("app/details-page");
frames.topmost().navigate("details-page");
}
vmModule.mainViewModel.set("selectedItem", args.view.bindingContext);
}
}