Fix for an Issue #793

This commit is contained in:
Miroslav Stampar 2014-08-19 22:48:18 +02:00
parent 5a05271097
commit 4dd6887ea4

View File

@ -2450,7 +2450,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: self.value = ""
if self.value is None and not self.disabled: self.value = ""
self.readonly = True
def get_labels(self):