зеркало из https://github.com/mozilla/pjs.git
With FF3, new about: handlers need to implement getURIFlags. Also typo in XUL file
This commit is contained in:
Родитель
16d61b2452
Коммит
4022503688
|
@ -76,7 +76,7 @@
|
|||
</hbox>
|
||||
<hbox>
|
||||
<button label="&newConfig.label;" id="newconfig" oncommand="CreateConfig();"/>
|
||||
<button label="©Config.label;" id="copyconfig" oncommand="CopyConfig();"/>/>
|
||||
<button label="©Config.label;" id="copyconfig" oncommand="CopyConfig();"/>
|
||||
<button label="&deleteConfig.label;" id="deleteconfig" oncommand="DeleteConfig();"/>
|
||||
</hbox>
|
||||
<checkbox id="saveOnExit" label="&saveOnExit.label;" oncommand="SetSaveOnExitPref();"/>
|
||||
|
|
|
@ -60,6 +60,9 @@ AboutHandler.prototype =
|
|||
var ext_uri = ioService.newURI(uri_str, null, null);
|
||||
var ext_channel = ioService.newChannelFromURI(ext_uri);
|
||||
return ext_channel;
|
||||
},
|
||||
getURIFlags : function getURIFlags(aURI) {
|
||||
return Components.interfaces.nsIAboutModule.URI_SAFE_FOR_UNTRUSTED_CONTENT;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче