summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/ImgViewer.js
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-29 16:09:19 +0200
committerthlo <t.lohmar@gmx.de>2013-09-29 16:09:19 +0200
commit4148888336af42a0ddb7a2e1e9dbc70703a2ba71 (patch)
tree75e508fdd6d263b9b247e6d83346d131439195db /smarttv-client/Javascript/ImgViewer.js
parentc1d18541100f07b5ec2a0baf894ae9d870866c5f (diff)
downloadvdr-plugin-smarttvweb-4148888336af42a0ddb7a2e1e9dbc70703a2ba71.tar.gz
vdr-plugin-smarttvweb-4148888336af42a0ddb7a2e1e9dbc70703a2ba71.tar.bz2
* Fixes in Comm handling.
* Fixes in Timer menu. * Fixes in Image Viewer. * Widget Code Improvements (HTTP transaction handlings)
Diffstat (limited to 'smarttv-client/Javascript/ImgViewer.js')
-rw-r--r--smarttv-client/Javascript/ImgViewer.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/smarttv-client/Javascript/ImgViewer.js b/smarttv-client/Javascript/ImgViewer.js
index 9e076fb..431a1ee 100644
--- a/smarttv-client/Javascript/ImgViewer.js
+++ b/smarttv-client/Javascript/ImgViewer.js
@@ -227,6 +227,10 @@ ImgViewer.onInput = function () {
break;
case tvKey.KEY_YELLOW:
Main.log("Delete YE Button");
+ var img_name = Data.getCurrentItem().childs[this.imgList[this.curImg]].payload.link.split("/");
+ Notify.showNotify( img_name[img_name.length -1], true);
+
+ Buttons.ynHeadlineText ("Delete " + img_name[img_name.length -1]);
Main.selectedVideo = this.imgList[this.curImg];
Buttons.ynShow();
// Server.deleteMedFile(Data.getCurrentItem().childs[Main.selectedVideo].payload.guid);