ltl2tgba.html: Fix initialization of unset options on reload.
* wrap/python/ajax/ltl2tgba.html: On page reload, do not ignore fields for which no value has been set in the hash fragment. Otherwise they will keep their default value. Reported by Thomas Badie.
This commit is contained in:
parent
802319ddbb
commit
187997fe5d
2 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,12 @@
|
|||
2012-03-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
ltl2tgba.html: Fix initialization of unset options on reload.
|
||||
|
||||
* wrap/python/ajax/ltl2tgba.html: On page reload, do not ignore
|
||||
fields for which no value has been set in the hash fragment.
|
||||
Otherwise they will keep their default value.
|
||||
Reported by Thomas Badie.
|
||||
|
||||
2012-03-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
* wrap/python/ajax/spot.in: Fix emulation of execfile.
|
||||
|
|
|
|||
|
|
@ -72,9 +72,7 @@
|
|||
value = hashparam[name];
|
||||
if (value.constructor != Array)
|
||||
value = [value];
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
switch(this.type || this.tagName.toLowerCase()) {
|
||||
case "radio":
|
||||
case "checkbox":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue