mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- yweb/Y_Timer_Edit: minor formatting fixes
This commit is contained in:
@@ -5,7 +5,11 @@
|
|||||||
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
function my_display(id,state) {(state)?$(id).show():$(id).hide();}
|
function my_display(id, state)
|
||||||
|
{
|
||||||
|
(state) ? $(id).show() : $(id).hide();
|
||||||
|
}
|
||||||
|
|
||||||
function focusNMark()
|
function focusNMark()
|
||||||
{
|
{
|
||||||
document.f.ad.select();
|
document.f.ad.select();
|
||||||
@@ -42,9 +46,7 @@ function onApidDefChange()
|
|||||||
}
|
}
|
||||||
function onApidChange()
|
function onApidChange()
|
||||||
{
|
{
|
||||||
if(document.f.apst.checked == true ||
|
if (document.f.apst.checked == true || document.f.apal.checked == true || document.f.apac.checked == true)
|
||||||
document.f.apal.checked == true ||
|
|
||||||
document.f.apac.checked == true)
|
|
||||||
document.f.apcf.checked=false;
|
document.f.apcf.checked=false;
|
||||||
}
|
}
|
||||||
function do_submit()
|
function do_submit()
|
||||||
@@ -55,10 +57,10 @@ function do_submit()
|
|||||||
function obj_set_select_value(_obj_name, _value)
|
function obj_set_select_value(_obj_name, _value)
|
||||||
{
|
{
|
||||||
var _obj = document.getElementById(_obj_name);
|
var _obj = document.getElementById(_obj_name);
|
||||||
if(_obj){
|
if (_obj)
|
||||||
|
{
|
||||||
for (i = 0; i < _obj.length; i++)
|
for (i = 0; i < _obj.length; i++)
|
||||||
if (_obj.options[i].value == _value)
|
if (_obj.options[i].value == _value)
|
||||||
|
|
||||||
_obj.selectedIndex=i;
|
_obj.selectedIndex=i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -170,7 +172,6 @@ function init()
|
|||||||
</table>
|
</table>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<!-- <input type="button" value="speichern" title="submit and save values" onclick="do_submit()"/>-->
|
|
||||||
<button type="button" ytype="save" title="submit and save values" onclick="do_submit()">{=L:save=}</button>
|
<button type="button" ytype="save" title="submit and save values" onclick="do_submit()">{=L:save=}</button>
|
||||||
<button type="button" ytype="cancel" title="cancel" onclick='window.document.location.href="/Y_Timer_List.yhtm"'>{=L:cancel=}</button>
|
<button type="button" ytype="cancel" title="cancel" onclick='window.document.location.href="/Y_Timer_List.yhtm"'>{=L:cancel=}</button>
|
||||||
</form>
|
</form>
|
||||||
|
Reference in New Issue
Block a user