From 7511023bc215cdcd11d747d445d77e8be6214473 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 3 Sep 2015 10:11:36 +0200 Subject: [PATCH] Fixes #1385 --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 9aada65ed..556865764 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3556,7 +3556,7 @@ def findPageForms(content, url, raise_=False, addToTargets=False): for form in forms: try: for control in form.controls: - if hasattr(control, "items") and not control.disabled: + if hasattr(control, "items") and not any((control.disabled, control.readonly)): # if control has selectable items select first non-disabled for item in control.items: if not item.disabled: