diff --git a/profile/resources/content/confirmMigration.js b/profile/resources/content/confirmMigration.js new file mode 100644 index 000000000000..30fd332217be --- /dev/null +++ b/profile/resources/content/confirmMigration.js @@ -0,0 +1,18 @@ +var profile = Components.classes["component://netscape/profile/manager"].getService(); +profile = profile.QueryInterface(Components.interfaces.nsIProfile); + +function handleOKButton() +{ + profile.automigrate = true; + return true; +} +function handleCancelButton() +{ + profile.automigrate = false; + return true; +} + +function onLoad() +{ + doSetOKCancel(handleOKButton, handleCancelButton); +} diff --git a/profile/resources/content/confirmMigration.xul b/profile/resources/content/confirmMigration.xul new file mode 100644 index 000000000000..0cd6080de00c --- /dev/null +++ b/profile/resources/content/confirmMigration.xul @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + &confirmMigrationPart1.label; + + + &confirmMigrationPart2.label; + + + &confirmMigrationPart3.label; + + + + + + + diff --git a/profile/resources/locale/en-US/confirmMigration.dtd b/profile/resources/locale/en-US/confirmMigration.dtd new file mode 100644 index 000000000000..34560d4f7e88 --- /dev/null +++ b/profile/resources/locale/en-US/confirmMigration.dtd @@ -0,0 +1,4 @@ + + + +