yWeb: load epg plus directly at page startup

Origin commit data
------------------
Branch: ni/coolstream
Commit: 85139f6928
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-20 (Mon, 20 Feb 2023)

Origin message was:
------------------
- yWeb: load epg plus directly at page startup

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-02-20 20:47:53 +01:00
parent 68b4ee95bb
commit b4d785c51a
3 changed files with 3 additions and 16 deletions

View File

@@ -68,8 +68,6 @@ function show_epg_item(_index){
$("d_channel_id").update(epg_data[_index][6]); $("d_channel_id").update(epg_data[_index][6]);
var logo =epg_data[_index][7]; var logo =epg_data[_index][7];
$('d_logo').update( (logo!="")?"<img class=\"channel_logos\" src=\""+logo+"\">":"" ); $('d_logo').update( (logo!="")?"<img class=\"channel_logos\" src=\""+logo+"\">":"" );
//var imdb_link = '<a target="_blank" class="exlink" href="http://german.imdb.com/find?s=all&q='+(epg_data[_index][0]).gsub(" ","+")+'">IMDb</a>';
//$('d_lookup').update(imdb_link);
var off=$('epg_plus').cumulativeScrollOffset(); var off=$('epg_plus').cumulativeScrollOffset();
//alert(off.inspect()); //alert(off.inspect());
@@ -270,7 +268,7 @@ function build_time_list(_delta){
/*init call*/ /*init call*/
function epg_plus_init(_display_logos){ function epg_plus_init(_display_logos){
g_display_logos = _display_logos; g_display_logos = _display_logos;
window.onresize=epg_plus_calc_dimensions; window.onresize = epg_plus_calc_dimensions();
build_time_list(0); build_time_list(0);
} }

View File

@@ -3,9 +3,6 @@
{=include-block:Y_Blocks.txt;js_prototype=} {=include-block:Y_Blocks.txt;js_prototype=}
<script src="/Y_Baselib.js"></script> <script src="/Y_Baselib.js"></script>
<script src="/Y_EPG.js"></script> <script src="/Y_EPG.js"></script>
<script>
</script>
{=include-block:Y_Blocks.txt;head_close=} {=include-block:Y_Blocks.txt;head_close=}
<body> <body>
{=var-set:wait_text={=L:epg.get_epg=}=}{=include-block:Y_Blocks.txt;snip_wait=} {=var-set:wait_text={=L:epg.get_epg=}=}{=include-block:Y_Blocks.txt;snip_wait=}
@@ -47,14 +44,6 @@
<br/> <br/>
</td> </td>
</tr> </tr>
<!--
<tr>
<td colspan="3">
{=L:lookup=}:
<span id="d_lookup"></span>
</td>
</tr>
-->
<tr> <tr>
<td colspan="3"> <td colspan="3">
<br/> <br/>
@@ -66,7 +55,7 @@
</div> </div>
<script> <script>
epg_plus_init("{=ini-get:%(CONFIGDIR)/nhttpd.conf;Tuxbox.DisplayLogos;true=}"); epg_plus_init("{=ini-get:%(CONFIGDIR)/nhttpd.conf;Tuxbox.DisplayLogos;true=}");
build_epg_plus_main()
</script> </script>
</body> </body>
</html> </html>

View File

@@ -1,3 +1,3 @@
version=3.0.39 version=3.0.40
date=20.02.2023 date=20.02.2023
info=NI-Neutrino-Webinterface info=NI-Neutrino-Webinterface