diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-07-16 11:23:38 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-07-16 11:23:38 -0400 |
| commit | 61afc8d7011f8a741b2583708ac1834e8eec44c2 (patch) | |
| tree | 436d709de6ba9e9ffd845a83c01c45ee342e8ad1 /www/templates | |
| parent | 82a0ec7a39ec49fb028876368014600a665f253c (diff) | |
moved saveImageToPhone to Modal - it was not working because button range was out of scope of modal controller range.
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events-modal.html | 2 | ||||
| -rw-r--r-- | www/templates/monitors-modal.html | 10 | ||||
| -rw-r--r-- | www/templates/monitors.html | 2 | ||||
| -rw-r--r-- | www/templates/montage.html | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 9f3f257f..8750895d 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -2,7 +2,7 @@ <ion-content style="background-color:#444444"> <!-- so I can access my common modal controller which is shared between events and monitors for modal views --> - <div ng-controller="ModalCtrl"> + <div> <!-- ng-controller="ModalCtrl">--> <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; "> <div style="height: 100vh;"> diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index aa87844e..366dcc79 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -1,6 +1,7 @@ -<ion-modal-view cache="false"> +<div ng-controller="ModalCtrl"> +<ion-modal-view cache="false" > <ion-content style="background-color:#444444"> - <div ng-controller="ModalCtrl"> + <div > <!-- </di> ng-controller="ModalCtrl">--> <!-- replay can also be gapless imageonload="finishedLoadingImage()"--> @@ -36,8 +37,7 @@ </nav> <span class="camera-icon"> - <a class="button icon ion-ios-camera button-positive" href="" ng-click="saveImageToPhone(tempmid)"></a> + <a class="button icon ion-ios-camera button-positive" href="" ng-click="saveImageToPhone(monitorId)"></a> </span> - - +</div> diff --git a/www/templates/monitors.html b/www/templates/monitors.html index 1cd03eec..9cef5a0f 100644 --- a/www/templates/monitors.html +++ b/www/templates/monitors.html @@ -6,7 +6,7 @@ <ion-content> - <div ng-controller="ModalCtrl"> + <div > <!-- ng-controller="ModalCtrl">--> <ion-refresher pulling-text="Pull to reload Monitors..." spinner="bubbles" on-refresh="doRefresh()"></ion-refresher> <div class="list card" ng-repeat="monitor in monitors"> diff --git a/www/templates/montage.html b/www/templates/montage.html index 13f21952..f2e34485 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -1,4 +1,4 @@ -<ion-view title="Montage" cache-view="false" hide-nav-bar="{{minimal}}"> +<ion-view title="Montage" cache-view="false" hide-nav-bar="{{minimal}}" > <ion-nav-buttons side="left"> <button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"></button> @@ -27,7 +27,7 @@ <ion-content has-bouncing="false" style="background-color:#FEFEFE"> - <div ng-controller="ModalCtrl"> + <div > <!--ng-controller="ModalCtrl"--> <ion-refresher pulling-text="Pull to reload Monitors..." spinner="bubbles" on-refresh="doRefresh()"></ion-refresher> <span ng-show="!minimal"> <div class=" range range-positive"> |
