Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libform Prevent set_field_buffer from redrawing field th...
details: https://anonhg.NetBSD.org/src/rev/7a77c99cf719
branches: trunk
changeset: 533570:7a77c99cf719
user: blymn <blymn%NetBSD.org@localhost>
date: Thu Jul 04 10:51:02 2002 +0000
description:
Prevent set_field_buffer from redrawing field that is attached to a form
when the form is not posted.
diffstat:
lib/libform/field.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2236297fbdc1 -r 7a77c99cf719 lib/libform/field.c
--- a/lib/libform/field.c Thu Jul 04 10:49:33 2002 +0000
+++ b/lib/libform/field.c Thu Jul 04 10:51:02 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: field.c,v 1.15 2002/05/20 15:00:11 blymn Exp $ */
+/* $NetBSD: field.c,v 1.16 2002/07/04 10:51:02 blymn Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn
* (blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -343,7 +343,7 @@
/* redraw the field to reflect the new contents. If the field
* is attached....
*/
- if (field->parent != NULL)
+ if ((field->parent != NULL) && (field->parent->posted == 1))
_formi_redraw_field(field->parent, field->index);
}
Home |
Main Index |
Thread Index |
Old Index