From ab491d038dad1183da60fe43fba0986fb1d0220c Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Tue, 24 Mar 2015 14:12:00 +0200 Subject: [PATCH] Fix the master-detail template app --- apps/template-master-detail/app.ts | 4 ++-- apps/template-master-detail/main-page.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/template-master-detail/app.ts b/apps/template-master-detail/app.ts index b9039f98a..e5b60f7f9 100644 --- a/apps/template-master-detail/app.ts +++ b/apps/template-master-detail/app.ts @@ -1,7 +1,7 @@ import application = require("application"); -application.mainModule = "app/main-page"; +application.mainModule = "main-page"; // Remove this in the AppBuilder templates -application.cssFile = "app/template-master-detail/app.css" +application.cssFile = "app.css" application.start(); diff --git a/apps/template-master-detail/main-page.ts b/apps/template-master-detail/main-page.ts index ca1064889..b7b066e7a 100644 --- a/apps/template-master-detail/main-page.ts +++ b/apps/template-master-detail/main-page.ts @@ -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); -} \ No newline at end of file +}