Skip to content

Commit

Permalink
App tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Jun 20, 2016
1 parent 31ad606 commit 8c070d8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 59 deletions.
4 changes: 2 additions & 2 deletions App/Ionic2/ocm-app/app/pages/search/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export class SearchPage extends Base implements OnInit {

this.log("Viewing/fetching POI Details " + args.poiId);
this.searchOnDemand = false; //suspend searches
//this.zone.run(() => {
this.zone.run(() => {
this.poiManager.getPOIById(args.poiId, true).subscribe(poi => {

this.log("Got POI Details " + poi.ID);
Expand All @@ -341,7 +341,7 @@ export class SearchPage extends Base implements OnInit {
this.appManager.showToastNotification(this.nav, "POI Details not available");
});

// });
});


/*
Expand Down
6 changes: 5 additions & 1 deletion App/Ionic2/ocm-app/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ ionic plugin add cordova-plugin-whitelist
ionic plugin add cordova-plugin-wkwebview-engine
ionic plugin add ionic-plugin-keyboard
ionic plugin add cordova-plugin-splashscreen
ionic plugin add cordova-plugin-inappbrowser
ionic plugin add cordova-plugin-inappbrowser

Build:

ionic build browser --release
7 changes: 7 additions & 0 deletions App/Ionic2/ocm-app/typings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dependencies": {},
"devDependencies": {},
"ambientDependencies": {
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654"
}
}
52 changes: 0 additions & 52 deletions App/Ionic2/ocm-app/webpack.config.js

This file was deleted.

11 changes: 7 additions & 4 deletions App/Ionic2/ocm-app/www/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" dir="ltr">

<head>
<meta charset="UTF-8">
Expand All @@ -16,18 +16,21 @@
<link rel="stylesheet" href="lib/leaflet/leaflet.css" />
</head>

<body class="md">
<body>

<ion-app></ion-app>

<script src="cordova.js"></script>

<script src="build/js/es6-shim.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?libraries=places&signed_in=true&"></script>
<!--key=AIzaSyASE98mCjV1bqG4u2AUHqftB8Vz3zr2sEg-->
<!-- Zone.js and Reflect-metadata -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.en"></script>
<script src="build/js/zone.js"></script>

<!-- Zone.js and Reflect-metadata -->
<script src="build/js/Reflect.js"></script>
<script src="build/js/zone.js"></script>

<script src="lib/collections.js"></script>
<script src="lib/leaflet/leaflet.js"></script>
<script src="lib/leaflet/leaflet-providers.js"></script>
Expand Down

0 comments on commit 8c070d8

Please sign in to comment.