summaryrefslogtreecommitdiff
path: root/tex/context/base/java-fld.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2002-01-11 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2002-01-11 00:00:00 +0100
commit736de6a312c37fbb8cea65cf0a86eda7dbbe0575 (patch)
treead6691db97ee31450f9ca5b30a90a22df067331b /tex/context/base/java-fld.tex
parent398264e8338d79fc389c76f0a1f0b30e4442f4e3 (diff)
downloadcontext-736de6a312c37fbb8cea65cf0a86eda7dbbe0575.tar.gz
stable 2002.01.11
Diffstat (limited to 'tex/context/base/java-fld.tex')
-rw-r--r--tex/context/base/java-fld.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/tex/context/base/java-fld.tex b/tex/context/base/java-fld.tex
index c5df7b08c..dab280e85 100644
--- a/tex/context/base/java-fld.tex
+++ b/tex/context/base/java-fld.tex
@@ -162,15 +162,15 @@ function Vide_Fields ( Name ) % show only one field
function Toggle_Hide ( Name )
{ var v = this.getField(Name) ;
- if (v) { v.hidden = !v.hidden } }
+ if (v) { v.hidden = !v.hidden ; this.dirty = false } }
function Field_On ( Name )
{ v = this.getField(Name) ;
- if (v) { v.value = "On" } }
+ if (v) { v.value = "On" ; this.dirty = false } }
function Field_Off ( Name )
{ var v = this.getField(Name) ;
- if (v) { v.value = "Off" } }
+ if (v) { v.value = "Off" ; this.dirty = false } }
function Toggle_Value ( Name )
{ var v = this.getField(Name) ;
@@ -178,7 +178,8 @@ function Toggle_Value ( Name )
{ if (v.value=="On")
{ v.value = "Off" }
else
- { v.value = "On" } } }
+ { v.value = "On" } }
+ this.dirty = false }
function Toggle_Read ( Name )
{ var v = this.getField(Name);