mirror of
https://github.com/tlsnotary/PageSigner.git
synced 2026-01-10 07:07:57 -05:00
fix about dialog
This commit is contained in:
@@ -35,8 +35,10 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
</html:hbox>
|
||||
<script type="text/javascript;version=1.8">
|
||||
function openT(url){
|
||||
gBrowser.addTab(url);
|
||||
gBrowser.selectedTab = t;
|
||||
var gBrowser = window.arguments[0];
|
||||
var t = gBrowser.addTab(url);
|
||||
gBrowser.selectedTab = t;
|
||||
window.close();
|
||||
}
|
||||
</script>
|
||||
</dialog>
|
||||
|
||||
@@ -368,7 +368,7 @@ function savePGSGFile(existing_path, name){
|
||||
|
||||
|
||||
function showAboutInfo(){
|
||||
window.openDialog("chrome://pagesigner/content/firefox/about.xul","","chrome, dialog, modal").focus();
|
||||
window.openDialog("chrome://pagesigner/content/firefox/about.xul","","chrome, dialog, modal", gBrowser).focus();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user