insert_text doesn't need javascript to be enabled
It runs in the context of an element, which seems possible, even without javascript enabled (in qtwebkit?).
This commit is contained in:
parent
ebe656fdf9
commit
efadbe64b5
@ -1539,8 +1539,6 @@ class CommandDispatcher:
|
||||
text: The text to insert.
|
||||
"""
|
||||
tab = self._current_widget()
|
||||
if not tab.has_js():
|
||||
raise cmdexc.CommandError("This command needs javascript enabled.")
|
||||
|
||||
def _insert_text_cb(elem):
|
||||
if elem is None:
|
||||
|
Loading…
Reference in New Issue
Block a user