summaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-07-26 21:53:02 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-07-26 21:53:02 +0200
commitd2bccfee406c9b99dfd85269f14d93a3ef73da0b (patch)
tree1d9784434792c0f079d7c6e063fab9f5ce47a1b8 /src/form.cc
parent604b03e2b43db99bfbadcf891f459b48dc39ff2a (diff)
parent6b787a09569a823e8ebaae8025c33e4ead9e306e (diff)
merge port to fltk-1.3 (dillo_port1.3)
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index 18441fb8..9b86fcb7 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -249,7 +249,9 @@ static void Html_add_input(DilloHtml *html, DilloHtmlInputType type,
html->inputs_outside_form->increase();
html->inputs_outside_form->set(ni, input);
- input->setEnabled(false);
+ if (html->bw->NumPendingStyleSheets > 0) {
+ input->setEnabled(false);
+ }
}
}
@@ -609,7 +611,6 @@ void Html_tag_open_isindex(DilloHtml *html, const char *tag, int tagsize)
/*
* The textarea tag
- * (TODO: It doesn't support wrapping).
*/
void Html_tag_open_textarea(DilloHtml *html, const char *tag, int tagsize)
{