Posts: 828
Joined: Jan 2013
Reputation:
19
2018-10-07, 19:19
(This post was last modified: 2018-10-09, 00:11 by Rantanplan-1.)
<onclick>Close</onclick> in "DialogPVRChannelGuide.xml" opens the PVRInfo Dialog.
Posts: 17,411
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,411
Where do you have the onclick action? List, button, etc?
Posts: 3,532
Joined: Oct 2013
Reputation:
357
That is the wanted behaviour. <onclick> opens the info dialog of the focused item of the PVR channel guide.
Main: Lancool II Mesh - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 - EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB / Crucial P1 2TB / WD Blue 3D Nand 2TB
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Posts: 19
Joined: Mar 2017
Reputation:
1
Shouldn't it be <onclick>Dialog.Close(id)</onclick>?
Wiki says:
Dialog.Close(dialog[,force]) – Close a dialog. Set force to true to bypass animations. Use (all,true) to close all opened dialogs at once.
Posts: 828
Joined: Jan 2013
Reputation:
19
not thil you mentioned it, but funnywise it also leads to PVR info.
Posts: 828
Joined: Jan 2013
Reputation:
19
Strange after install the provided Build the Button is gone?
Will do a restart as soon as i finisch other stuff im working on. (can thake a while) as soon as i did a restart (PC not just Kodi), i post again.
greetings
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
> Strange after install the provided Build the Button is gone?
Which button? it's yours, right? You added it to your skin. So, my build can't remove it. I only changed what happens if you click somewhere in the affected dialogs.
Posts: 828
Joined: Jan 2013
Reputation:
19
2018-10-08, 02:58
(This post was last modified: 2018-10-08, 03:00 by Rantanplan-1.)
Can confirm that its working now! thnx! (Did only test "Close" but if that work i guess "Close.Dialoge(blablub)" will work to.
what also did change is that one of my visible conditions didnt work anymore String.IsEmpty(Window(Home).Property(VideoIsStartup))
as soon as i removed this condition the Button shows up and work.
As i dont need that condition there, i simply removd it.
--
EDIT:
just Tested "Dialog.Close(pvrchannelguide,true)" works to.
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
Thanks for testing. I will open a PR with the fix.
Regarding the not working condition: my test build definitely changed nothing on that regard. Whatever you have noticed, it can not be caused by my test build..
Again, thanks for reprint and testing.