Commit 703582df authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

allow -2 from GET

parent 368ff4f9
...@@ -1128,7 +1128,7 @@ function parseGetNames() { ...@@ -1128,7 +1128,7 @@ function parseGetNames() {
$value=explode($ahead_separator,$value); $value=explode($ahead_separator,$value);
if (count($value)>1) { if (count($value)>1) {
$ahead=myval($value[1]); $ahead=myval($value[1]);
if ($ahead<0) $ahead=0; //if ($ahead<0) $ahead=0;
} else { } else {
$ahead=$default_ahead; $ahead=$default_ahead;
} }
...@@ -1240,7 +1240,7 @@ function onchangeHex(elem,id_dec,id_apply) { ...@@ -1240,7 +1240,7 @@ function onchangeHex(elem,id_dec,id_apply) {
function onchangeDelay(elem,id_apply) { function onchangeDelay(elem,id_apply) {
// alert ("onchangeDelay("+elem.id+","+id_apply+")"); // alert ("onchangeDelay("+elem.id+","+id_apply+")");
var d=document.getElementById(elem.id).value; var d=document.getElementById(elem.id).value;
if (d<0) document.getElementById(elem.id).value=0; //if (d<0) document.getElementById(elem.id).value=0;
document.getElementById(id_apply).checked=true; document.getElementById(id_apply).checked=true;
} }
function onchangeBroadcast(elem,id_apply) { function onchangeBroadcast(elem,id_apply) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment