[orca] Add missing argument



commit fa8ef05c08b8dec82e80d2fe8e24a1f504dd9cf7
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Feb 12 12:25:11 2020 +0100

    Add missing argument

 src/orca/scripts/web/speech_generator.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index 5881e6d33..df448cf8d 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -652,6 +652,9 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
         return result
 
     def _generateTableCellRow(self, obj, **args):
+        if not self._script.utilities.inDocumentContent(obj):
+            return super()._generateTableCellRow(obj, **args)
+
         if not self._script.utilities.shouldReadFullRow(obj):
             return self._generateRealTableCell(obj, **args)
 
@@ -668,7 +671,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
            and self._script._lastCommandWasCaretNav:
             return []
 
-        return super()._generateRowHeader()
+        return super()._generateRowHeader(obj)
 
     def generateSpeech(self, obj, **args):
         if not self._script.utilities.inDocumentContent(obj):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]