* Don't perform submission of the content of disabled form fields -VH
Expect huge offsets while applying this patch.
Best regards,
-Vlad
diff -ru old/src/GridText.c fixed/src/GridText.c
--- old/src/GridText.c Sun Jan 9 06:26:18 2000
+++ fixed/src/GridText.c Mon Jan 31 10:32:13 2000
@@ -10160,7 +10160,8 @@
anchor_ptr = HTMainText->first_anchor;
while (anchor_ptr) {
if (anchor_ptr->link_type == INPUT_ANCHOR) {
- if (anchor_ptr->input_field->number == form_number) {
+ if (anchor_ptr->input_field->number == form_number &&
+ !anchor_ptr->input_field->disabled) {
char *p;
char * val;
@@ -10344,7 +10345,8 @@
*/
while (anchor_ptr) {
if (anchor_ptr->link_type == INPUT_ANCHOR) {
- if (anchor_ptr->input_field->number == form_number) {
+ if (anchor_ptr->input_field->number == form_number &&
+ !anchor_ptr->input_field->disabled) {
char *p;
int out_cs;
form_ptr = anchor_ptr->input_field;