diff options
author | corvid <corvid@lavabit.com> | 2011-05-16 18:57:34 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-05-16 18:57:34 +0000 |
commit | 0f8cb48af3903c6a355c5404f5b5d01942eabd2b (patch) | |
tree | 1751558366d9825b21244b62613a724974a523c3 /src/form.cc | |
parent | 96de97c92c0b4f0f98a0af7cc156a363a3d58e4b (diff) |
only disable the inputs outside of forms if stylesheets are pending
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007408.html
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-May/008319.html
Diffstat (limited to 'src/form.cc')
-rw-r--r-- | src/form.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/form.cc b/src/form.cc index 18441fb8..bf1f8e33 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); + } } } |