From f294d3cb3aa36e2a74e4e4c8542c48da78f54861 Mon Sep 17 00:00:00 2001 From: thlo Date: Sun, 29 Sep 2013 16:09:19 +0200 Subject: * Fixes in Comm handling. * Fixes in Timer menu. * Fixes in Image Viewer. * Widget Code Improvements (HTTP transaction handlings) --- smarttv-client/Javascript/ImgViewer.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'smarttv-client/Javascript/ImgViewer.js') 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); -- cgit v1.2.3