Skip to content
Snippets Groups Projects
Commit a1eda4f8 authored by deuce's avatar deuce
Browse files

Insert the connection object into the window object of the loaded HTML

pages.  This allows using something like:
<a onclick="connection.send('/O')">Log Out</a>
parent 04c9e0dd
No related branches found
No related tags found
No related merge requests found
......@@ -25,5 +25,5 @@
</menupopup>
</menu>
</menubar>
<iframe id="frame" src="chrome://ZuulTerm/content/default.html" showcaret="true" onkeypress="sendKey(event)" type="content-primary" flex="1"/>
<iframe id="frame" src="chrome://ZuulTerm/content/default.html" onload="this.contentWindow.connection=connection;" showcaret="true" onkeypress="sendKey(event)" type="content-primary" flex="1"/>
</window>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment