diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-10-04 19:14:42 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-10-04 19:14:42 -0400 |
| commit | 05d6ccd17d8f5d592104bd7eff5661ab78dea110 (patch) | |
| tree | cb22951bbeedd24902482c20d6fb02f5f8d60b82 /www/templates | |
| parent | c8c8699ead20677754b4c2912f72691558374f05 (diff) | |
switch to browser fetch to download media for desktops, use timestamped filenames - should also resolve #989
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events-modal.html | 6 | ||||
| -rw-r--r-- | www/templates/monitors-modal.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 24df4b1e..de0f74c9 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -201,7 +201,7 @@ <i class="ion-ios-loop-strong"></i>-{{loginData.gapless? ('kOn' | translate): ('kOff' | translate)}}</a> </li> <li ng-if="isToggleListMenu"> - <a href="" ng-click="saveEventImageToPhoneWithPerms(false, 'any')"> + <a href="" ng-click="saveEventImageWithPerms(false, currentEvent.Event.Id)"> <i class="ion-camera"></i> </a> </li> @@ -209,14 +209,14 @@ <li ng-if="isToggleListMenu && defaultVideo !='' && defaultVideo != undefined"> - <a href="" ng-click="saveEventVideoToPhoneWithPerms()"> + <a href="" ng-click="saveEventVideoWithPerms(currentEvent.Event.Id)"> <i class="ion-android-download"></i> </a> </li> <li ng-if="defaultVideo=='' && isToggleListMenu"> - <a href="" ng-click="saveEventImageToPhoneWithPerms(true)"> + <a href="" ng-click="saveEventImageWithPerms(true, currentEvent.Event.Id)"> <i class="ion-android-notifications"></i> </a> </li> diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 84c9049a..0da43cfd 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -98,7 +98,7 @@ </li> <li ng-if="isToggleListMenu"> - <a id='testaut_monitormodal_camera_button' href="" ng-click="saveImageToPhoneWithPerms(monitorId)"> + <a id='testaut_monitormodal_camera_button' href="" ng-click="saveLiveImageToPhoneWithPerms(monitorId)"> <i class="icon ion-ios-camera"></i> </a> </li> |
