changeset 2023:263540f2e5fa

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
author corvid <corvid@lavabit.com>
date Mon, 16 May 2011 18:57:34 +0000
parents b4c1aa2d99dc
children f542084fa707
files src/form.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/form.cc	Mon May 16 13:57:33 2011 -0400
+++ b/src/form.cc	Mon May 16 18:57:34 2011 +0000
@@ -249,7 +249,9 @@
       html->inputs_outside_form->increase();
       html->inputs_outside_form->set(ni, input);
 
-      input->setEnabled(false);
+      if (html->bw->NumPendingStyleSheets > 0) {
+         input->setEnabled(false);
+      }
    }
 }