mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Add onunload to call the appcore's cleanup routine.
This commit is contained in:
parent
96625b1be4
commit
df5d4e548a
@ -260,7 +260,9 @@
|
|||||||
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
onload="Startup()" title="&mainWindow.title;" titlemodifier="&mainWindow.titlemodifier;">
|
onload="Startup()"
|
||||||
|
onunload="if (appCore) appCore.close()"
|
||||||
|
title="&mainWindow.title;" titlemodifier="&mainWindow.titlemodifier;">
|
||||||
|
|
||||||
<html:script language="javascript" src="navigator.js">
|
<html:script language="javascript" src="navigator.js">
|
||||||
</html:script>
|
</html:script>
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
|
|
||||||
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
onunload="if (appCore) appCore.close()"
|
||||||
title="Mozilla">
|
title="Mozilla">
|
||||||
|
|
||||||
<html:script src="navigator.js"></html:script>
|
<html:script src="navigator.js"></html:script>
|
||||||
|
Loading…
Reference in New Issue
Block a user