This commit is contained in:
Miroslav Stampar
2018-02-26 13:37:19 +01:00
parent b595b883d1
commit 93859fdc42
3 changed files with 4 additions and 4 deletions

View File

@@ -2455,7 +2455,7 @@ class SubmitControl(ScalarControl):
# IE5 defaults SUBMIT value to "Submit Query"; Firebird 0.6 leaves it
# blank, Konqueror 3.1 defaults to "Submit". HTML spec. doesn't seem
# to define this.
if self.value is None and not self.disabled: self.value = ""
if self.value is None and not self.disabled and not self.readonly: self.value = ""
self.readonly = True
def get_labels(self):