diff --git a/mozilla/profile/resources/content/confirmMigration.js b/mozilla/profile/resources/content/confirmMigration.js deleted file mode 100644 index cb13a84e76a..00000000000 --- a/mozilla/profile/resources/content/confirmMigration.js +++ /dev/null @@ -1,34 +0,0 @@ -var gMigrationBundle; -var profile = Components.classes["@mozilla.org/profile/manager;1"].getService(); -profile = profile.QueryInterface(Components.interfaces.nsIProfileInternal); - -function handleOKButton() -{ - profile.automigrate = true; - return true; -} -function handleCancelButton() -{ - profile.automigrate = false; - return true; -} - -function onLoad() -{ - gMigrationBundle = document.getElementById("bundle_migration"); - - doSetOKCancel(handleOKButton, handleCancelButton); - var okButton = document.getElementById("ok"); - var cancelButton = document.getElementById("cancel"); - if (!okButton || !cancelButton) - return false; - - okButton.setAttribute("label", gMigrationBundle.getString("migrate")); - okButton.setAttribute("class", okButton.getAttribute("class") + " padded"); - cancelButton.setAttribute("label", gMigrationBundle.getString("newprofile")); - cancelButton.setAttribute("class", cancelButton.getAttribute("class") + " padded"); - okButton.focus(); - centerWindowOnScreen(); - return true; -} - diff --git a/mozilla/profile/resources/content/confirmMigration.xul b/mozilla/profile/resources/content/confirmMigration.xul deleted file mode 100644 index 2367918311d..00000000000 --- a/mozilla/profile/resources/content/confirmMigration.xul +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - -%brandDTD; - -%migrationDTD; -]> - - - - - -