Bug 1438328 - Port bug 1438270 to C-C: Remove use of nsIDOMDocumentXBL.loadBindingDocument(). r=aceman
This commit is contained in:
Родитель
374a0935a0
Коммит
63b04cb832
|
@ -212,10 +212,6 @@ function initializeHeaderViewTables()
|
|||
|
||||
function OnLoadMsgHeaderPane()
|
||||
{
|
||||
// HACK...force our XBL bindings file to be load before we try to create our
|
||||
// first xbl widget.... otherwise we have problems.
|
||||
document.loadBindingDocument("chrome://messenger/content/mailWidgets.xml");
|
||||
|
||||
// Load any preferences that at are global with regards to
|
||||
// displaying a message...
|
||||
gMinNumberOfHeaders = Services.prefs.getIntPref("mailnews.headers.minNumHeaders");
|
||||
|
|
|
@ -339,7 +339,6 @@ function OnLoadMessenger()
|
|||
// update the pane config before we exit onload otherwise the user may see a flicker if we poke the document
|
||||
// in delayedOnLoadMessenger...
|
||||
UpdateMailPaneConfig(false);
|
||||
document.loadBindingDocument('chrome://global/content/bindings/textbox.xml');
|
||||
|
||||
if (AppConstants.platform == "win") {
|
||||
// On Win8 set an attribute when the window frame color is too dark for black text.
|
||||
|
|
|
@ -219,10 +219,6 @@ function initializeHeaderViewTables()
|
|||
|
||||
function OnLoadMsgHeaderPane()
|
||||
{
|
||||
// HACK...force our XBL bindings file to be load before we try to create our first xbl widget....
|
||||
// otherwise we have problems.
|
||||
document.loadBindingDocument('chrome://messenger/content/mailWidgets.xml');
|
||||
|
||||
// load any preferences that at are global with regards to
|
||||
// displaying a message...
|
||||
gCollectIncoming = Services.prefs.getBoolPref("mail.collect_email_address_incoming");
|
||||
|
|
Загрузка…
Ссылка в новой задаче